Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo db vector store #12924

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Pash10g
Copy link

@Pash10g Pash10g commented Jan 29, 2025

Summary

This PR implements MongoDB Atlas Vector Store node enabling vector similarity search capabilities in n8n's LangChain integration.

Implementation Details

  • MongoDB Atlas Vector Store integration with LangChain
  • Operations: load, insert, retrieve, update
  • Namespace management and collection handling
  • Vector index validation
  • Enhanced error handling

Testing Steps

  1. Prerequisites:

    • MongoDB Atlas cluster
    • Vector search index configured
    • Valid connection string
  2. Test Operations:

    // Example workflow
    1. Insert Operation
    - Input: documents with embeddings
    - Expected: vectors stored in MongoDB
    
    2. Retrieve Operation
    - Input: query vector
    - Expected: similar documents returned
    
    3. Update Operation
    - Input: modified vectors
    - Expected: database updated

Related Linear tickets, Github issues, and Community forum posts

Include links to Linear ticket :

Docs : n8n-io/n8n-docs#2798

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@CLAassistant
Copy link

CLAassistant commented Jan 29, 2025

CLA assistant check
All committers have signed the CLA.

@n8n-assistant n8n-assistant bot added community Authored by a community member in linear Issue or PR has been created in Linear for internal review labels Jan 29, 2025
@Joffcom
Copy link
Member

Joffcom commented Jan 29, 2025

Hey @Pash10g,

Thanks for the PR, We have created "GHC-657" as the internal reference to get this reviewed.

One of us will be in touch if there are any changes needed, in most cases this is normally within a couple of weeks but it depends on the current workload of the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants