Skip to content

mongodb/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB Knowledge Service

This repo contains the work of the MongoDB Education AI team.

MongoDB Knowledge Service

The MongoDB Knowledge Service lets you learn about MongoDB using generative AI. To learn more about it, refer to the MongoDB Knolwedge Service documentation

MongoDB Chatbot Framework (deprecated)

The team building the MongoDB Knowledge Service previous developed the MongoDB Chatbot Framework. This consisted of the npm packages:

  • mongodb-chatbot-server
  • mongodb-chatbot-ui (still used, refer to UI)
  • mongodb-rag-core
  • mongodb-rag-ingest

The MongoDB Chatbot Framework in now deprecated. We will no longer be maintaining it.

To learn more about the framework, refer to the the blog post Build a Production-Ready, Intelligent Chatbot With the MongoDB Chatbot Framework.

Why Deprecate the MongoDB Chatbot Framework?

Since we first launched the framework a year and a half ago, there's been a lot of progress in the TypeScript ecosystem for AI frameworks. We have decided that these frameworks remove the need for the MongoDB Chatbot Framework. Additionally, supporting the framework in addition to the Knowledge Service has been a maintenance burden on our small team.

In particular, we've been very impressed by the Vercel AI SDK. It has a great developer experience, is well maintained, and a robust feature set. We've moved most of our LLM call logic to the AI SDK. You can refer to our mongodb/chatbot repository to see how we're using it. For a tutorial on building with MongoDB Atlas and the AI SDK, refer to the blog post Building a Chat Application That Doesn't Forget! by MongoDB's own Jesse Hall.

For building more agentic applications in TypeScript, Mastra (itself built on the AI SDK), LangGraph.js, and the OpenAI Agents SDK all seem to be solid options.

Contributing

To learn how to get started contributing to the project, refer to the Contributor Guide.

License

This project is licensed under the Apache 2.0 License.