How to Integrate LangChain with MongoDB Atlas Vector Search to realise the true potential of Retrieval Augmented Generation
This Repo shows how to integrate LangChain, Open AI and store embeddings in the MongoDB Atlas and run a similarity search using MongoDB Atlas Vector Search.
- create a vector search index using the MongoDB Atlas GUI and
- how can we store vector embeddings in MongoDB documents create a vector search index using the MongoDB Atlas GUI
- perform KNN search using Approximate Nearest Neighbors algorithm which uses the Hierarchical Navigable Small World (HSNW) graphs
and also throws some light on
-
Comparing textual and fuzzy search with semantic search
-
LLM without the retrieval architecture
-
How retrieval architecture helps when we create vector embeddings and do a vector similarity search using MongoDB Atlas Vector Search
Google colab