-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
Now that NODE-6923 has been completed, https://github.com/langchain-ai/langchainjs should be updated with proper wrapping metadata that captures library/version.
At the same time we can clean up the documented examples that include driverInfo as part of the example, as this would be superfluous.
The driver version used by Langchain would need to be updated to ensure the appropriate API is available.
AC:
- Expose db from the Collection object in the driver
- Expose client from the Db object in the driver
- Use collection.db.client.appendMetadata() in langchain to add the driver info.
Testing AC:
- Attempt to spy on the mongo client in vectorstores.int.test.ts to ensure appendMetadata has been called with the appropriate driver info
- is related to
-
NODE-7108 Add driver metadata tracking for AI Frameworks
-
- Backlog
-
1.
|
Expose Db and Client in the Driver | NODE-7125 |
|
Needs Verification | Durran Jordan | |
2.
|
Append Client Metadata in Langchain | NODE-7126 |
|
In Progress | Durran Jordan | |
3.
|
Prevent Duplicate Additional Metadata for Name | NODE-7131 |
|
Needs Review | Durran Jordan |