Adding MongoDB as a storage solution in LangChainJS #7285
ssumaiyaahmed
started this conversation in
Ideas
Replies: 1 comment
-
Hey @jacoblee93, we are a group of students from UofT and were wondering if this could be a potential issue that you would want us to work on? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Add a mongodb.js implementation to LangChainJS, inspired by the existing mongodb.py file in the langchain_community/storage folder of LangChain Python. This feature would enable users of LangChainJS to seamlessly integrate MongoDB as a storage solution.
Motivation
The LangChain Python repository includes a mongodb.py file that provides MongoDB storage functionality. However, LangChainJS currently lacks a similar integration. This is a limitation for users who prefer or require a JavaScript/TypeScript ecosystem for their projects but still want consistent MongoDB storage options. Adding mongodb.js would help keep the JavaScript/TypeScript version of the langchain version up to date with the Python version.
Proposal (If applicable)
Develop a mongodb.js file for the langchainjs_community/storage folder that mimics the functionality of mongodb.py.
We would create two classes: MongoDBByteStore and MongoDBStore, which provide interfaces for interacting with a MongoDB database. They would support operations like getting, setting, deleting, and iterating over keys.
Beta Was this translation helpful? Give feedback.
All reactions