mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
18 lines
432 B
Markdown
18 lines
432 B
Markdown
# RAG Mongoß
|
|
|
|
This template performs RAG using MongoDB and OpenAI.
|
|
|
|
See [this notebook](https://colab.research.google.com/drive/1cr2HBAHyBmwKUerJq2if0JaNhy-hIq7I#scrollTo=TZp7_CBfxTOB) 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.
|