You can access the Bot using the given link - https://optimus-bot-rp5bpvkywud3hmvt8wzeu3.streamlit.app/
This is an AI-powered chatbot built using Google Gemini-Pro and Streamlit. The chatbot allows users to interact with an AI model and get responses in real-time.
- Python - Core programming language
- Streamlit - Web framework for building the UI
- Google Generative AI (Gemini-Pro) - AI model for generating responses
- dotenv - For handling environment variables
- Interactive chatbot interface
- Supports real-time conversation
- Simple and user-friendly UI
- Uses Google Gemini-Pro for intelligent responses
To run the chatbot locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/your-repo.git cd your-repo - Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables:
- Create a
.envfile in the root directory. - Add the following line:
GOOGLE_API_KEY=your_google_api_key_here
- Create a
Run the following command:
streamlit run app.py- Push the code to a GitHub repository.
- Go to Streamlit Cloud and sign in with GitHub.
- Select your repository and deploy it.
- Add the environment variable (
GOOGLE_API_KEY) in Streamlitβs settings. - Click Deploy and get a shareable link!
Feel free to contribute to this project by opening issues or pull requests.
This project is open-source and available under the MIT License.
π‘ Developed with β€οΈ using Streamlit and Google Gemini-Pro!