Skip to main content

MongoDB + RAG + Galileo overview

MongoDB Atlas Vector Search lets you keep your knowledge base inside MongoDB while enjoying hybrid search and AI-ready workloads. In this guide you’ll:
  1. Embed and store vectors in Atlas
  2. Setup Galileo
  3. Stream LangGraph traces to Galileo for end-to-end observability

Set up MongoDB

Sign up to MongoDB Atlas and set up your credentials. You can setup the vector store as follows:

Use Galileo for logging

Once the callback is created we can add it to the agent.
Find the full notebook in Google Colab.