Skip to content

I made a chatbot using python and it uses Google Gemini API to work. The chabot is displayed using python library, streamlit.

Notifications You must be signed in to change notification settings

maybeanns/Gemini_ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ChatBot-Gemini LLM

This is a simple chatbot application built using Streamlit and Google's Generative AI Gemini model. The application allows users to input questions and receive responses from the Gemini model in real-time.

Screenshot 2024-06-19 032014

Features

  • Real-time Chat: Input your question and get a response from the Gemini LLM.
  • Session History: Maintains a chat history for the current session.
  • Custom Navbar Background: Displays navbar with multipage functionality (you can customize that yourself ❤️‍🩹).

Setup Instructions

Prerequisites

  • Python 3.4 or later
  • A Google API key for the Generative AI service

Installation

  • Clone the repository:
  • Create a virtual environment:
  • Set up environment variables: Create a .env file in the project root and add your Google API key

Running the Application

  • Start the Streamlit app: streamlit run bot.py
  • Open the app:
    • The app should automatically open in your default web browser. If not, navigate to http://localhost:8501 in your browser.

Demo

streamlit-bot-2024-06-19-03-06-29.webm

About

I made a chatbot using python and it uses Google Gemini API to work. The chabot is displayed using python library, streamlit.

Topics

Resources

Stars

Watchers

Forks

Languages