https://github.com/langchain-ai/rag-from-scratch

RAG From Scratch

Untitled

Query Translation

Process of taking a question and translating it into a form better for retrieval

Multi Query

Rag Fusion

Decomposition

Step-Back

HyDE (Hypothetical Document Embeddings)

Routing

Routing the potentially decomposed question to the relevant data source (DB)

Logical Routing

Semantic Routing