GPTBot is a Python application that allows users to have voice-based conversations with OpenAI's ChatGPT. This project leverages the power of several Python packages, including openai, pyttsx3, and speechrecognition to provide a seamless chat experience.
- Voice Interaction: Engage in natural conversations with ChatGPT using your voice.
- Speech Recognition: Utilize the
speech_recognitionpackage to convert spoken words into text for processing. - Text-to-Speech Output: Receive responses audibly as GPTBot reads out ChatGPT's answers using the
pyttsx3package. - API Key Integration: Access the ChatGPT service by providing your unique API key.
-
Clone the repository:
git clone https://github.com/Aadhithya01/GPTBot
-
Install Dependencies
pip install -r requirements.txt
-
Obtain an API key from OpenAI
Get your API key from OpenAI's website and set it as an environment variable.
Contributions are welcomed to enhance GPTBot. To contribute, follow these steps:
- Fork the repository.
- Create a new branch: git checkout -b feature-name.
- Implement your changes: git commit -m 'Add feature'.
- Push to the branch: git push origin feature-name.
- Submit a pull request.