Skip to content

The chatbot merges the vast knowledge of the Gemini API with your data, employing advanced algorithms for precise and context-specific responses. Additionally, the user interface is created with Streamlit, ensuring a seamless experience as you interact with the chatbot.

Notifications You must be signed in to change notification settings

UjjwalDeepXCIX/Gemini_API_Chatbot_using_streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatBot using Gemini API and streamlit

Overview

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.

ChatBot Image

Installation

To run this ChatBot, you need to follow these steps:

  1. Ensure you have Python installed on your system.
  2. Clone this repository to your local machine.
  3. Install the required Python packages by running
pip install -r requirements.txt
  1. Set up your Google API key by creating a .env file and adding your key:

Usage

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.

Features

  • 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.

Contributing

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.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

The chatbot merges the vast knowledge of the Gemini API with your data, employing advanced algorithms for precise and context-specific responses. Additionally, the user interface is created with Streamlit, ensuring a seamless experience as you interact with the chatbot.

Topics

Resources

Stars

Watchers

Forks

Languages