Chapter 78
Module 6: Best Practices (Optional)
Module 6: Best Practices (Optional)
This module was recorded in 2024 and has not been updated since then. It covers techniques that improve RAG retrieval quality: hybrid search, document reranking, and how to implement them with Elasticsearch and LangChain.
It is optional - the techniques are still relevant, but the code uses older libraries and approaches.
Lessons
- Intro - Five techniques for improving RAG pipelines
- Hybrid Search - Combining vector and keyword search in Elasticsearch
- Document Reranking - Reciprocal Rank Fusion (RRF) for re-ordering results
- Hybrid Search with LangChain - Using LangChain's ElasticsearchRetriever
- Next Steps - Other techniques and further reading
Notebooks
Homework
There's no homework for this module.
Notes
- Did you take notes? Add them above this line (Send a PR with links to your notes)
