LangChain: Add Wrapping Library Metadata to Vector Embeddings Integrations

XMLWordPrintableJSON

    • 2
    • 2
    • Not Needed
    • None
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we lack visibility into the MongoDB-Langchain typescript integration usage. This ticket aims to enhance the integration by adding wrapping library metadata. We'll achieve this by passing additional metadata to MongoClient instances during their creation. For example in Python:

      from pymongo import MongoClient
      from pymongo.driver_info import DriverInfo
      MongoClient(connection_string, driver=DriverInfo(name="Langchain", version="x.y.z"))
      

      Note: Please make sure this doesn't overwrite any other metadata that we capture for reporting purposes. 

      Unknowns

      • Do we have access to the client?
      • What adjustments might we need to make to the driver/code to inject the metadata?
        • Cross-reference the Python implementation

      AC

              Assignee:
              Bailey Pearson
              Reporter:
              Shubham Ranjan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: