⚒️ Document Q&A system with Voyage-Context-3 embeddings and MongoDB Atlas

1,267 views · ⚒️ Engineering

Description

On my never-ending quest to find the best embeddings model, I was intrigued to come across Voyage-Context-3 by MongoDB and was excited to give it a try.

This template implements the embedding model on a Arxiv research paper and stores the results in a Vector store. It was only fitting to use Mongo Atlas from the same parent company. This template also includes a RAG-based Q&A agent which taps into the vector store as a test to helps qualify if the embeddings are any good and if this is even noticeable.

How it works

This template is split into 2 parts. The first part being the import of a research document which is then chunked and embedded into our vector store. The second part builds a RAG-based Q&A agent to test the vector store retrieval on the research paper.

Read the steps for more details.

How to use

Requirements

Customising this workflow

🔗 Nodes Used

HTTP Request, MongoDB, Execute Sub-workflow, Execute Workflow Trigger, OpenAI Chat Model, Extract from File

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup