https://github.com/williyam-m/chatbot-flask-app-using-gemini-api
A chatbot application built with Flask, powered by the Gemini API
https://github.com/williyam-m/chatbot-flask-app-using-gemini-api
ai api chatbot flask gemini google python
Last synced: about 2 months ago
JSON representation
A chatbot application built with Flask, powered by the Gemini API
- Host: GitHub
- URL: https://github.com/williyam-m/chatbot-flask-app-using-gemini-api
- Owner: williyam-m
- Created: 2024-09-09T07:55:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T08:24:03.000Z (almost 2 years ago)
- Last Synced: 2025-06-11T09:09:04.710Z (about 1 year ago)
- Topics: ai, api, chatbot, flask, gemini, google, python
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gemini Chatbot with Flask
## Overview
This project implements a chatbot using the Gemini API and Flask.
## Key Links
1. [Gemini API Documentation](https://ai.google.dev/api?lang=python)
2. [Gemini AI Studio](https://aistudio.google.com/)
## Installation Steps
1. **Clone the Repository**
```bash
git clone https://github.com/williyam-m/Chatbot-Flask-App-Using-Gemini-API.git
```
2. **Create a Virtual Environment**
```bash
python -m venv venv
```
3. **Activate the Virtual Environment**
- **On Windows:**
```bash
venv\Scripts\activate
```
- **On Linux/macOS:**
```bash
source venv/bin/activate
```
4. **Install Required Packages**
```bash
pip install -r requirements.txt
```
5. **Configure Environment Variables**
Create a `.env` file in the root directory of the project with the following content:
```ini
SECRET_KEY=
GEMINI_API_KEY=
MODEL=
```
6. **Run the Application**
```bash
python app.py
```