Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Hardware Chatbot-Chainlit + Google Gemini Project

This project integrates Chainlit with Google Gemini to build an interactive chatbot or AI-powered application.


📦 Requirements

  • Python 3.9+
  • A Google Gemini API Key (Get it here)
  • virtualenv (recommended)

⚙️ Setup Instructions

1. Clone the repository

git clone https://github.com/yourusername/chainlit-gemini-project.git
cd chainlit-gemini-project

2. Create a Virtual Environment

python -m venv venv

3. Activate the Virtual Environment

  • Windows:

    venv\Scripts\activate
  • macOS/Linux:

    source venv/bin/activate

4. Install Dependencies

pip install -r requirements.txt

If requirements.txt is missing, install packages manually and generate it:

pip install chainlit google-generativeai python-dotenv
pip freeze > requirements.txt

🔐 Set Up Environment Variable

Option 1: Use .env File

Create a file named .env in the root folder and add:

GEMINI_KEY=your_google_gemini_api_key_here

🚀 Run the Project

chainlit run main.py

##VIDEO

clideo_editor_f8905b5c57a34b6793ebc8d02c97efef.mp4

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages