Skip to content

NigamDevansh/OpenAI-Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Assistant

This web application is basically google/siri voice assistant but rather being powered by google/apple it's powered by ChatGPT of OpenAi. It receives voice commands and return the voice output of your command.

caution : Their are two ways to call the response one is to remain silent. Another method is to first stop the listening by clicking on it and then click response.

Video:

openai.assistant.demo.mp4

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

API_KEY

GOOGLE_APPLICATION_CREDENTIALS="/path/to/credentials.json"

PORT

How to get environment variables:

  • To get api key head over to openai.com and create a account then navigate to "https://platform.openai.com/account/api-keys" to get you api key.
  • To get the text to speech credentials head over to google cloud platform and search for "text to speech" api and enable it fomr their.

Run Locally

Clone the project

  git clone https://github.com/NigamDevansh/OpenAI-Assistant

Go to the project directory

  cd my-project

Install dependencies and running the server:

  npm install
  npm run dev

You will see that nodemon has started and listening at the given port.

Screenshots

1

2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published