Skip to content

shred11/gemini-ai-chatbot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini AI

This Gemini AI Chatbot is a Streamlit web application that integrates with Google's Generative AI models for various tasks such as chat, image captioning, text embedding, and asking questions.

Features

  • Chat: Engage in conversation with Gemini AI using natural language prompts.
  • Image Captioning: Upload an image and generate a descriptive caption for it.
  • Embed Text: Get embeddings for input text using pre-trained models.
  • Ask me Anything: Ask Gemini AI any question and receive a response.

Getting Started

  1. Clone this repository:

    git clone https://github.com/sshreyy1/gemini-ai-chatbot-demo.git
    cd gemini-ai
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up Google API Key:

    • Obtain a Google API Key from the Google Cloud Console.
    • Create a config.json file in the project directory with the following structure:
    {
        "GOOGLE_API_KEY": "your-api-key"
    }
  4. Run the Streamlit app:

    streamlit run main.py
  5. Checkout here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages