This is a test of the openAI's API.
It simulates a virtual assistant over voice.
Clone this project:
git clone https://github.com/raag/OpenAI-API-test.gitGo to project directory.
cd OpenAI-API-testInstall the dependencies:
pip3 install -r requirements.txtCreate a file named .env with the next content:
OPENAI_API_KEY=XXXXXXXXXXXXXXXXXXXX
LANGUAGE=en
You can get your OPEN_API_KEY from https://platform.openai.com/account/api-keys
For now in LANGUAGE you can use en and es
Run the project:
python3 main.pyJust tell to your mic what do you need and wait for your response.