Spaces:
Sleeping
Sleeping
File size: 1,470 Bytes
6a9c9f9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# Gemini Chatbot of Users (Me)
A simple AI chatbot that represents **Rishabh Dubey** by leveraging Google Gemini API, Gradio for UI, and context from **summary.txt** and **Profile.pdf**.
## Screenshots

## Features
- Loads background and profile data to answer questions in character.
- Uses Google Gemini for natural language responses.
- Runs in Gradio interface for easy web deployment.
## Requirements
- Python 3.10+
- API key for Google Gemini stored in `.env` file as `GOOGLE_API_KEY`.
## Installation
1. Clone this repo:
```bash
https://github.com/rishabh3562/Agentic-chatbot-me.git
```
2. Create a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```
3. Install dependencies:
```bash
pip install -r requirements.txt
```
4. Add your API key in a `.env` file:
```
GOOGLE_API_KEY=<your-api-key>
```
## Usage
Run locally:
```bash
python app.py
```
The app will launch a Gradio interface at `http://127.0.0.1:7860`.
## Deployment
This app can be deployed on:
* **Render** or **Hugging Face Spaces**
Make sure `.env` and static files (`summary.txt`, `Profile.pdf`) are included.
---
**Note:**
* Make sure you have `summary.txt` and `Profile.pdf` in the root directory.
* Update `requirements.txt` with `python-dotenv` if not already present.
---
|