[LangChainJS] add Auto Embedding support

XMLWordPrintableJSON

    • 2
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Overview

      MongoDB Atlas is rolling out a new Auto Embedding Index feature that automates vector generation for text fields, eliminating the need for external embedding pipelines. See NODE-7245

      LangChain.js is a modular SDK that abstracts the complexity of LLM orchestration, enabling you to build composable AI workflows with standardized interfaces for prompts, models, and retrieval. It integrates with MongoDB as a vector store and long-term memory, letting you run semantic searches and persist chat history right inside your existing Atlas clusters.

      We want it to support the new Auto Embedding feature to provide developers with a streamlined vector search experience.

      Sample Usage

      Before:

      // Code example of how this currently works on LangChain
      

      After:

      // Code example of how this users in LangChain will use the new feature
      

            Assignee:
            Raschid Jimenez
            Reporter:
            Gaurab Aryal
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: