← cd ..

$ cat ./ai-anime-chatbot-with-rag/README.md

// anime chatbot that scrapes any url, builds a faiss vector store, augments with duckduckgo, and answers via groq llama 3.3 — every answer cites [rag] or [search]

// stack: langchain · faiss · huggingface sentence-transformers · groq · duckduckgo · streamlit

// pipeline

user enters anime url
        ↓
webbaseloader scrapes the page
        ↓
recursivetextsplitter chunks it (1000 chars, 200 overlap)
        ↓
huggingface minilm embeds each chunk → 384-dim vectors
        ↓
faiss indexes all vectors in memory
        ↓
user asks a question
        ↓
faiss retrieves top-5 similar chunks   [rag]
duckduckgo fetches live web snippet    [search]
        ↓
groq (llama 3.3 70b) answers in bullets with source tags
          

// demo

AnimeSensei chatbot UI AnimeSensei chatbot answer

// source

↗ view on github