Skip to content

mongodb/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

19b7ebc · Mar 11, 2025
Nov 20, 2023
Feb 28, 2025
Mar 10, 2025
Feb 25, 2025
Nov 12, 2024
Mar 11, 2025
Jun 29, 2023
Mar 11, 2025
Mar 29, 2024
Nov 4, 2024
Mar 19, 2024
Mar 29, 2024
Dec 5, 2024
Sep 25, 2023
Jun 5, 2024
Sep 25, 2023
Feb 27, 2025
Mar 11, 2025
Feb 25, 2025
Dec 4, 2023
Mar 11, 2025
Mar 11, 2025
Feb 27, 2025
Jan 16, 2025
Jan 13, 2025

Repository files navigation

MongoDB Chatbot Framework

The MongoDB Chatbot Framework is a set of libraries that you can use to build full-stack intelligent chatbot applications using MongoDB and Atlas Vector Search. The MongoDB Chatbot Framework includes first class support for retrieval-augmented generation (RAG).

The framework can take your chatbot application from prototype to production.

You can quickly get an AI chatbot enhanced with your data up and running using the framework's built-in data ingest process, chatbot server, and web UI. As you refine your application and scale to more users, you can modify the chatbot's behavior to meet your needs.

The framework is flexible and customizable. It supports multiple AI models and complex prompting strategies. It also includes tools for programmatic evaluation of your chatbot's AI components.

Documentation

To learn how to use the MongoDB Chatbot Framework, refer to the documentation: https://mongodb.github.io/chatbot/.

You can also check out the following articles and videos about the framework:

MongoDB Docs AI Chatbot Implementation

This repo also contains the implementation of the MongoDB Docs Chatbot, which uses the MongoDB Chatbot Framework.

The MongoDB Docs Chatbot uses the MongoDB documentation and Developer Center as its sources of truth.

The chatbot builds on the following technologies:

  • Atlas Vector Search: Indexes and queries content for use in project.
  • MongoDB Atlas: Persists conversations and content.
  • ChatGPT API: LLM to pre-process user queries and summarize responses to user queries.
  • OpenAI Embeddings API: Create vector embeddings for user queries and content. Used by Atlas Vector Search.

To learn more about how we built the chatbot, check out the MongoDB Developer Center blog post Taking RAG to Production with the MongoDB Documentation AI Chatbot.

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.