Generative AI Use Cases Repository Welcome to the Generative AI Use Cases Repository! This comprehensive resource showcases cutting-edge applications in generative AI, including Retrieval-Augmented Generation (RAG), AI Agents, and industry-specific use cases. Discover how MongoDB integrates with RAG pipelines and AI Agents, serving as a vector database, operational database, and memory provider.
Key Features:
- RAG pipelines and applications leveraging MongoDB for efficient data retrieval and management
- AI Agents utilizing MongoDB as a scalable memory provider
- Practical notebooks and guidance on frameworks like LlamaIndex, Haystack and LangChain
- Integration with state-of-the-art models from Anthropic and OpenAI
- Industry-specific use cases across healthcare, finance, e-commerce, and more
This section contains examples of use cases that are commonly seen in industry-focused scenarios and generic applications. Each entry in the table includes a description and links to production-level examples and relevant code.
- Evaluating your LLM applications
- Angle Embeddings Evaluation
- OpenAI Embeddings Evaluation
- VoyageAI Embeddings Evaluation
Title | Stack | Colab | Article |
---|---|---|---|
RAG with Llama3, Hugging Face and MongoDB | Hugging Face, Llama3, MongoDB | ||
How to Build a RAG System Using Claude 3 Opus and MongoDB | MongoDB, Anthropic, Python | ||
How to Build a RAG System with the POLM AI Stack | POLM (Python, OpenAI, LlamaIndex, MongoDB) | ||
MongoDB LangChain Cache Memory Python Example | POLM (Python, OpenAI, LangChain, MongoDB) | ||
MongoDB LangChain Cache Memory JavaScript Example | JavaScript, OpenAI, LangChain, MongoDB | ||
Naive RAG Implementation Example | POLM (Python, OpenAI, LlamaIndex, MongoDB) | ||
OpenAI Text Embedding Example | Python, MongoDB, OpenAI | ||
RAG with Hugging Face and MongoDB Example | Hugging Face, Gemma, MongoDB | ||
Chat With PDF Example | Python, MongoDB, OpenAI, LangChain | ||
RAG Pipeline | Python, MongoDB, Gemma2, KeraNLP | ||
RAG Pipeline with Open Models | Python, MongoDB, Gemma2, Hugging Face | ||
MongoDB and Haystack cooking advisor | Python, Haystack , OpenAI | ||
MongoDB and Semantic Kernel Movie Recommendation Bot | C# Console App, MongoDB, Semantic Kernel, Azure OpenAI or OpenAI | GitHub Repo | View Article |
Build an Asset Manager RAG Chatbot | Cohere, MongoDB, Python | Coming soon | |
Asset Manager Chatbot with LLM Evals and Moderation | Gemma 2B, ShieldGemma, MongoDB, Python | ||
Lyric Semantic Search with MongoDB and Spring AI | Java, Spring AI, OpenAI, MongoDB | Github Repo |
An agent is an artificial computational entity with an awareness of its environment. It is equipped with faculties that enable perception through input, action through tool use, and cognitive abilities through foundation models backed by long-term and short-term memory. Within AI, agents are artificial entities that can make intelligent decisions followed by actions based on environmental perception, enabled by large language models.
This folder will contain all traditional machine learning tutorials. They include important explanations, step-by-step instructions, and everything a reader needs in order to be successful following the tutorial from beginning to end.
Title | Colab Link |
---|---|
Written in the Stars: Predict Your Future With Tensorflow and MongoDB Charts |
These MongoDB specific tutorials are meant to showcase a specific MongoDB platform integrated with artificial intelligence or machine learning. These step-by-step tutorials will allow the reader to truly understand not only the platform, but also the AI use-case.
Workshops are designed to take learners through the step-by-step process of developing LLM applications. These workshops include essential explanations, definitions, and resources provided within the notebooks and projects. Each workshop is structured to build foundational knowledge and progressively advance to more complex topics. Practical exercises and real-world examples ensure that learners can apply the concepts effectively, making it easier to understand the integration and deployment of generative AI applications.
Title | Colab Link |
---|---|
Pragmatic LLM Application Development: From RAG Pipelines to AI Agent | |
Building chatbots with NextJS and Atlas Vector search |
Useful tools and utilities for working with generative AI models:
- Embeddings Generator: A set of scripts for generating and manipulating embeddings.
- MongoDB as a Toolbox for Agentic Systems
Below are various datasets with embeddings for use in LLM application POCs and demos. All datasets can be accessed and downloaded from their respective Hugging Face pages.
Thought leadership in AI is not an option, we take it seriously. That's why we've curated articles and pieces created by our team to get you conversation-ready and equipped with the right information to make key decisions when building AI products.
We welcome contributions! Please read our Contribution Guidelines for more information on how to participate.
This project is licensed under the MIT License.
Feel free to reach out for any queries or suggestions:
- Email: richmond.alake@mongodb.com
- Email: apoorva.joshi@mongodb.com
- Email: pavel.duchovny@mongodb.com