A simple asynchronous chat application using Google's Gemini API built with Python.
- Asynchronous chat interface using asyncio
- Rich text formatting with the Rich library
- Integration with Google's Gemini Pro model
- Simple command-line interface
- Install the required dependencies:
pip install -r requirements.txt
- Set up your Gemini API key:
- You can replace the API key in the
main.py
file - Or set it as an environment variable
- You can replace the API key in the
Run the application:
python main.py
- Type your messages and press Enter to send them to Gemini
- Type 'exit', 'quit', or 'bye' to end the conversation
- Python 3.7+
- Google Generative AI Python SDK
- Rich library for text formatting