An production-grade AI Chatbot interface built with Streamlit and powered by the Google Gemini 1.5 Flash model. This application demonstrates how to bridge high-performance LLMs with a reactive web UI for real-time natural language processing.
- Gemini 1.5 Flash Integration: Leverages Google's high-speed, low-latency model for near-instant responses.
- Stateful Chat History: Maintains conversation context throughout the session using Streamlit's
session_state. - Markdown Rendering: Full support for code snippets, tables, and formatted text in AI responses.
- Responsive Deployment: Optimized for both desktop and mobile viewing via Render.
This project follows a clean Controller-View pattern within the Streamlit framework:
- Frontend: Streamlit's reactive components handle user input and message rendering.
- LLM Orchestration:
google-generativeaiSDK manages the secure connection to Google AI Studio. - Environment Management: Secure API key handling via Streamlit Secrets (for production) and
.env(for local development).
git clone [https://github.com/Adi432144/STREAMLIT-AI.git](https://github.com/Adi432144/STREAMLIT-AI.git)
cd STREAMLIT-AI
pip install -r requirements.txt