Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 680 Bytes

File metadata and controls

37 lines (24 loc) · 680 Bytes

AI ChatBot

A simple AI ChatBot powered by Google's Gemini model.

Prerequisites

  • Python 3.9 or higher
  • A Google Cloud Project with the Gemini API enabled
  • An API Key for the Gemini API

Installation

  1. Clone the repository (if applicable) or download the source code.
  2. Install the required dependencies:
pip install -r requirements.txt

Configuration

  1. Create a .env file in the root directory of the project.
  2. Add your Gemini API key to the .env file:
API_KEY=your_api_key_here

Usage

Run the application using Python:

python app.py

Type your message to chat with Gemini. Type exit to end the conversation.