This repository contains a chatbot application built using the Gemini Pro API, with a user interface created using Streamlit and Python. The API token is obtained from Google Studio.
This project is a simple chatbot application that leverages the capabilities of the Gemini Pro API for natural language processing. The user interface is built using Streamlit, a Python library that makes it easy to create interactive web applications.
- Real-time Chat: Communicate with the chatbot in real-time.
- Streamlit UI: A simple and interactive user interface.
- Gemini Pro API: Utilizes Gemini Pro for natural language processing and response generation.
- Customizable: Easy to customize and extend according to your needs.
To get started, follow these steps:
-
Clone the Repository:
git clone https://github.com/yourusername/yourrepository.git cd yourrepository
-
Create a Virtual Environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the Required Packages:
pip install -r requirements.txt
-
Obtain Gemini Pro API Token:
- Get your API token from Google Studio by signing up and following their instructions.
- Replace the placeholder in the configuration with your API token.
-
Run the Streamlit Application:
streamlit run app.py
-
Access the Application:
- Open your web browser and navigate to http://localhost:8501 to start chatting.
- Alternatively, you can access the deployed application here.