You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/rag-mongo
Lance Martin 26f0ca222d
RAG template for MongoDB Atlas Vector Search (#12526)
8 months ago
..
rag_mongo RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago
tests RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago
LICENSE RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago
README.md RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago
poetry.lock RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago
pyproject.toml RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago
rag_mongo.ipynb RAG template for MongoDB Atlas Vector Search (#12526) 8 months ago

README.md

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.