Hubermanbot2 / README.md
Nightwing11's picture
Resolved merge conflict in README.md
075d061

A newer version of the Gradio SDK is available: 5.49.1

Upgrade
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

  1. Google Gemini API Key
  2. YouTube API Key

πŸš€ Installation

Local Setup

  1. Clone the repository

    git clone https://github.com/Angel-dash/Xyzbot.git
    cd Xyzbot
    
  2. 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