This repo has sample code showcasing building Vector Search / RAG (Retrieval-Augmented Generation) applications using built-in Vector Search capablities of MongoDB Atlas, embedding models and LLMs (Large Language Models).
Follow setup-python-env.md
Setup Atlas in the cloud and make sure we can connect to it.
Perform vector search on an already indexed collection. This collection is pre-populated with embeddings using an OpenAI embedding model.
We will populate collections data with custom embeddings, using open source embedding models and query them.
screencast | screenshot 1 | screenshot 2
Index PDF files and store the index in Atlas with embeddings, and ask questions about the documents using LLMs
Vector search results using different embedding models