This ChatBot is a conversational bot designed to address various questions. It automatically processes information from a provided PDF file and leverages Gemini API for processing techniques and respond to user inquiries effectively.
To run this ChatBot, you need to follow these steps:
- Ensure you have Python installed on your system.
- Clone this repository to your local machine.
- Install the required Python packages by running
pip install -r requirements.txt
- Set up your Google API key by creating a
.env
file and adding your key:
Once you have installed the necessary dependencies and set up your Google API key, you can run the application using Streamlit. Execute the following command:
Streamlit run test.py
This command will start the Streamlit server, and you can access the application in your web browser.
- Automatic PDF Processing: The application automatically extracts text from a provided PDF file.
- Conversational Interface: Users can interact with the bot by asking questions related to the content of the PDF file.
- Dynamic Chat History: The application maintains a chat history, displaying both user questions and bot responses.
- Natural Language Understanding: The bot employs advanced language models to understand and respond to user queries effectively.
Contributions to this ChatBot project are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.