https://github.com/whitehatboy005/ai-chatbot
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.
https://github.com/whitehatboy005/ai-chatbot
ai ai-chatbot api chat-bot
Last synced: 5 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/whitehatboy005/ai-chatbot
- Owner: whitehatboy005
- Created: 2024-06-19T15:02:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-28T02:48:32.000Z (7 months ago)
- Last Synced: 2025-03-30T19:23:14.438Z (6 months ago)
- Topics: ai, ai-chatbot, api, chat-bot
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤖 AI Chatbot
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.## 📌 Features
- **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.## Model Output

## API KEY OBTAINTo get GEMINI_API_KEY in this link https://aistudio.google.com/app/apikey
## ⚙️ Installation
## Clone the Repository
```bash
git clone https://github.com/whitehatboy005/AI-Chatbot
cd AI-Chatbot
```
## Install Dependencies
```bash
pip install -r requirements.txt
```
## Configure Environment Variables for API
```bash
notepad config.env
```
## Run the Program
```bash
streamlit run Ai.py
```
## 🚀 Example Demonstration link
https://harish-gpt.streamlit.app