https://github.com/thepravin/persona-al-bot
https://github.com/thepravin/persona-al-bot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thepravin/persona-al-bot
- Owner: thepravin
- Created: 2025-06-01T14:10:17.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-01T17:13:41.000Z (4 months ago)
- Last Synced: 2025-06-12T09:53:08.541Z (4 months ago)
- Language: Python
- Size: 43 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Persona-Al-Bot
**Persona-Al-Bot** is an AI-powered chatbot that emulates the teaching style of Hitesh Choudhary, a renowned tech educator. Built using Streamlit and Google's Gemini API, this chatbot provides responses in Hindi, maintaining a friendly and instructional tone.
## Features
* Interactive chat interface powered by Streamlit.
* Emulates Hitesh Choudhary's teaching style and tone.
* Responds in Hindi.
* Utilizes Google's Gemini API for generating responses.
* Session-based chat history for seamless conversations.## 🚀 Live Demo
```
https://persona-al-bot-pravin.streamlit.app/
```
## Video Demo
https://github.com/user-attachments/assets/73a3e765-01bf-4368-ae86-09410a574c24
## Installation
1. **Clone the repository:**
```bash
git clone https://github.com/thepravin/Persona-Al-Bot.git
cd Persona-Al-Bot
```2. **Create a virtual environment (optional but recommended):**
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```3. **Install the required packages:**
```bash
pip install -r requirements.txt
```4. **Set up your Gemini API key:**
You can provide your Gemini API key in two ways:
* **Option 1:** Create a `.env` file in the project root directory and add your API key:
```env
GEMINI_API_KEY=your_api_key_here
```* **Option 2:** If you don't set the API key in a `.env` file, the application will prompt you to enter it upon launching.
## Usage
To start the chatbot, run:
```bash
streamlit run app.py
```The application will open in your default web browser.
## File Structure
```plaintext
Persona-Al-Bot/
├── .devcontainer/ # Development container configuration
├── .gitignore # Git ignore file
├── CLI-App.py # Command-line interface version (optional)
├── app.py # Main Streamlit application
├── requirements.txt # Python dependencies
└── README.md # Project documentation
```## Dependencies
* Python 3.7 or higher
* Streamlit
* google-generativeai
* python-dotenvInstall all dependencies using the provided `requirements.txt` file.
## Contributing
Contributions are welcome! If you'd like to enhance the chatbot or fix any issues, please fork the repository and submit a pull request.
## Acknowledgments
* [Hitesh Choudhary](https://www.youtube.com/c/HiteshChoudharyOfficial) for his inspiring teaching style.
* [Streamlit](https://streamlit.io/) for the intuitive web app framework.
* [Google's Gemini API](https://ai.google.dev/) for powering the chatbot's responses.🧑💻 Happy coding!