Overview
This chatbot ingests a website's sitemap, chunks and indexes the page content, and then allows conversational queries against that knowledge base. It's a product demo and a diagnostic tool: if the chatbot can't answer questions about your site, neither can Google's AI overviews.
Architecture
- Ingestion: Fetches sitemap, crawls each URL, extracts text, chunks by section
- Indexing: Embeds chunks and stores in a vector store
- Chat: RAG retrieval finds relevant chunks, LLM generates a grounded answer
Key decisions
- Sitemap-first approach keeps scope manageable vs. full recursive crawling.
- Chunking by HTML section headers preserves semantic boundaries better than fixed-size splits.
