This project demonstrates a chat interface that allows users to interact with an AI assistant powered by OpenAI's GPT-3.5 model. It supports both desktop (using PyQt5) and web-based (using Gradio) interfaces for a seamless user experience.
- OpenAI API - For generating AI responses
- Python - Core programming language
- PyQt5 - GUI toolkit for desktop applications
- Gradio - Web-based interface for easy AI interaction
- Dual interface support: Desktop (PyQt5) & Web (Gradio)
- User-friendly chat UI
- Real-time AI responses powered by GPT-3.5
- Lightweight and easy to set up
Ensure you have Python 3.8+ installed.
- Clone this repository:
git clone https://github.com/yourusername/your-repo.git cd your-repo
- Install dependencies:
pip install -r requirements.txt
- Set up your OpenAI API key:
export OPENAI_API_KEY="your_api_key_here"
python pyqt_chat.py
python gradio_chat.py
- Add support for voice-based interactions
- Improve UI design with themes and customization
- Implement persistent chat history
- Optimize performance for large conversations
Feel free to submit issues and pull requests. Contributions are always welcome!
This project is licensed under the MIT License.
⭐ If you found this project useful, consider giving it a star on GitHub!