Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.49.1
metadata
title: Hubermanbot2
emoji: π
colorFrom: blue
colorTo: blue
sdk: gradio
sdk_version: 5.16.0
app_file: app.py
pinned: false
license: mit
short_description: a bot
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Andrew Huberman RAG-Based AI Chatbot
Overview
Xyzbot is an AI chatbot that extracts and synthesizes insights from Andrew Huberman's YouTube videos. It automatically retrieves video transcripts, updates its knowledge base in ChromaDB, and provides citation-linked responses.
π Key Features
- Mimics Andrew Huberman's insights using YouTube video transcripts
- Automatic transcript retrieval and knowledge base updates
- RAG-powered response generation with direct video citations
- Interactive Streamlit user interface
- Docker-based deployment for easy scalability
π Tech Stack
- Backend: Python, LangChain, OpenAI API
- Frontend: Streamlit
- Database: ChromaDB
- Deployment: Docker
π Project Structure
π¦ Xyzbot
βββ π Data
βββ π Example
βββ π Llm
βββ π Notebook
βββ π Prompts
βββ π Rag
β βββ chromadb.db
β βββ π Processed_folder
βββ π utils
βββ Dockerfile
βββ pyproject.toml
π§ Prerequisites
- Python 3.8+
- Docker (optional)
π API Keys Required
- Google Gemini API Key
- YouTube API Key
π Installation
Local Setup
Clone the repository
git clone https://github.com/Angel-dash/Xyzbot.git cd Xyzbot
Create virtual environment
python3 -m venv venv source venv/bin/activate pip install -r requirements.txt
Docker Setup
Option 1: Build Locally
docker build -t xyzbot:v1.0 .
docker run -it \
-v $(pwd)/Rag:/app/Rag:rw \
-e GOOGLE_API_KEY=your_api_key \
xyzbot:v1.0
Option 2: Pull from Docker Hub
docker pull angeldash/xyzbot:v1.0
docker run -it \
-v $(pwd)/Rag:/app/Rag:rw \
-e GOOGLE_API_KEY=your_api_key \
angeldash/xyzbot:v1.0
π₯οΈ Running the Application
streamlit run src/main.py
π Future Roadmap
- Fine-tuned LLM response generation
- Real-time multi-channel monitoring
- Enhanced citation formatting
- AI agent conversation handling
- Performance optimization
π License
MIT License
π€ Contributing
Contributions are welcome! Open an issue or submit a pull request.
Author: Angel Dash | GitHub: @Angel-dash