This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "difficulty": "advanced", | |
| "title": "Advanced — Production Bot Architecture", | |
| "lessons": [ | |
| { | |
| "id": 1, | |
| "title": "Full RAG (Retrieval-Augmented Generation) Pipeline", | |
| "goal": "Implement vector-like relevance search using TF-IDF in-browser", | |
| "explanation": "RAG gives your bot long-term knowledge by embedding documents and retrieving relevant chunks at query time. Without a vector DB, we use TF-IDF cosine similarity in pure JS — surprisingly effective for small knowledge bases.", | |
| "concepts": ["TF-IDF", "cosine similarity", "knowledge base", "chunk retrieval", "RAG"], |