The best way to connect LLMs to your private data is currently retrieval augmented generation. LangChain has lots of advanced and production-ready functionality to help with this.

Jupyter Notebook (to follow along): https://github.com/hwchase17/langchain-0.1-guides/blob/master/retrieval.ipynb

JavaScript Notebook: https://github.com/bracesproul/langchainjs-0.1-guides/blob/main/retrieval.ipynb

Links:

Retrieval Documentation: https://python.langchain.com/docs/modules/data_connection/

Advanced Retrieval Methods: https://python.langchain.com/docs/modules/data_connection/retrievers/

QA with RAG Use Case Documentation: https://python.langchain.com/docs/use_cases/question_answering/

Add comment

Your email address will not be published. Required fields are marked *

Categories

All Topics