A lightweight CLI chat application powered by Google Gemini API. Get your API-key here: Google AI Studio
- Context Memory: Maintains conversation flow using
collections.dequefor efficient history management. - Persistent Storage: Automatically saves chat history to JSON format for future sessions.
- Cross-Platform: Full support for both Windows and Linux.
- OS-Standard Paths: Securely stores API keys in standard directories:
~/.configfor Linux andAppData/Roamingfor Windows. - OOP Architecture: Built with clean, Object-Oriented principles to ensure code scalability.
- Python 3.14+
- Google Generative AI SDK (Gemma)
- JSON (for local data persistence)
- Git (Conventional Commits style)
- Clone the repo:
git clone https://github.com/dmitrovskii/gemma-ai-helper.git - Install requirements:
pip install -r requirements.txt - Setup API Key: Save your API key in key.txt within the configuration paths mentioned above.
- Launch:
python main.py
- [ ] Add data validation via Pydantic.
- [ ] Support for multiple concurrent chat sessions.
- [ ] Implement
asynciofor non-blocking I/O. - [ ] Integrate a Vector Database for long-term RAG memory.
Author: Dmitry (@dmitrovskii)