This Python application creates a chatbot interface using Streamlit, allowing users to interact with an AI model powered by the google.generativeai library. The chatbot responds to various commands and queries, providing conversational responses based on the input.
- Chat Input: Users can enter messages or commands in the chat interface.
- Bot Responses: Based on the input, the chatbot responds with predefined messages or generates content using the AI model.
- Session Management: Maintains a history of conversations within the session using Streamlit's session state.
- Personalization: Displays a personalized greeting and identifies itself as an AI assistant.
- Dynamic Content Generation: Uses the AI model to generate text content for user queries beyond predefined responses.
To get GEMINI_API_KEY in this link https://aistudio.google.com/app/apikey
git clone https://github.com/whitehatboy005/AI-Chatbot
cd AI-Chatbot
pip install -r requirements.txt
notepad config.env
streamlit run Ai.py