Comments (3)
Hi Brian,
Thanks for the suggestion. We thought about having some generic MongoDB ingest source, but couldn't come up with a useful generalizable pattern for ingesting arbitrary MongoDB data.
We do use MongoDB as a data source in some of our data source implementations. Here's an example: https://github.com/mongodb/chatbot/blob/main/packages/mongodb-rag-ingest/src/sources/DevCenterDataSource.ts
As one MDB employee to another, thinking about what's most useful for the company, I also wonder if it'd make more sense to have a LangChain JS MongoDB DocumentLoader (https://js.langchain.com/v0.1/docs/modules/data_connection/document_loaders/custom/). There's already a Python equivalent (https://python.langchain.com/v0.1/docs/integrations/document_loaders/mongodb/). Then we could wrap the LangChain document loader with the framework's makeLangChainDocumentLoaderDataSource() function.
from chatbot.
Hey Ben,
Indeed. I just slacked you my Aha request for the LangChain JS loader :-).
And thanks for the additional example. I'm been referencing this other example up to now:
https://github.com/mongodben/ingest-customers/blob/main/src/data-sources/MongoDbDotComCustomersDataSource.ts
/Brian
from chatbot.
And thanks for the additional example. I'm been referencing this other example up to now:
https://github.com/mongodben/ingest-customers/blob/main/src/data-sources/MongoDbDotComCustomersDataSource.ts
this should be a good reference as well!
from chatbot.
Related Issues (20)
- OPENAI_EMBEDDING_MODEL="text-embedding-3-small" not working? HOT 9
- Info retrieval and LLM function calling with parameter HOT 5
- Documentation improvement: Booster HOT 3
- Instrumenting with LangSmith HOT 3
- Getting access to usage tokens HOT 1
- Adapting UI for Light Mode Users
- Use Claude3 LLM HOT 5
- Add ModalView properties to set the chat icons HOT 4
- mongodb-chatbot-evaluation ready to use? HOT 2
- Chatbot stream error: Internal Server Error HOT 7
- "error": "invalid parameter: expected an object (filter)" HOT 1
- npm login issue when applying fix for #425 HOT 2
- Typescript error when running quickstart HOT 2
- Does not work with latest models HOT 2
- How to Handle Requests with Base64 Image Data Using OpenAI's Advanced API like GPT-4 in This Framework? HOT 1
- Real-time ingest feature HOT 5
- Really great work!!! Love it. HOT 1
- dependency question for DataStreamer HOT 1
- makeUserMessage function response type HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatbot.