control Chat_Gpt through your voice
The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.7+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.
It is generated from our OpenAPI specification with Stainless.
git clone https://github.com/shubhamg0sai/Voice_Gpt.git
cd Voice_Gpt
Important
The SDK was rewritten in v1, which was released November 6th 2023. See the v1 migration guide, which includes scripts to automatically update your code.
pip install openai
pip install -r requriments.txt
open apikey.py file paste your api key there api_data="YOUR_API_KEY"
The API documentation can be found here.
python main.py