Files
langchain/templates/rag-mongo

RAG Mongoß

This template performs RAG using MongoDB and OpenAI.

See this notebook for additional context.

Mongo

This template connects to MongoDB Atlas Vector Search.

Be sure that you have set a few env variables in chain.py:

  • MONGO_URI

LLM

Be sure that OPENAI_API_KEY is set in order to the OpenAI models.