Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.28 KB

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