AnnouncementIntroducing MongoDB 8.0, the fastest MongoDB ever! Read more >>

On-Demand Webinar

Enhance React Applications with Generative AI LLMs

Large language models (LLMs) like OpenAI’s GPT provide powerful natural language processing capabilities. Integrating those capabilities with React empowers developers to create dynamic, intelligent user interfaces that provide personalized user experiences. Enabling those user interfaces to remember earlier conversations and incorporate that memory as context in new interactions makes AI even more intelligent and human-like — and the application even more effective.

Senior Developer Advocate Jesse Hall explores and explains how to achieve this in JavaScript and React. The app uses Next.js, LangChain, and MongoDB Vector Search to create an application that extends the benefits of LLMs by creating a memory store that enables the app to recall and use previous conversations. Adding this historical insight allows the chatbot to offer responses that are more relevant and tailored to the individual user.

The webinar shows how to:

  • Setup the environment and database.
  • Create a naive RAG chain with a MongoDB vector store.
  • Add a chat history to the RAG chain to improve answer relevance and accuracy.

More like this

View all resources
general_content_tutorial

Introduction to MongoDB

Watch to learn the fundamentals of the world’s most popular NoSQL database, MongoDB.

Learn More
mdb_vector_search

Intro to Vector Search

Explore how AI and MongoDB Atlas Vector Search are enabling a new generation of smart, context-aware applications.

Learn More
atlas_performance_advisor

AI-Driven Outcomes: How MongoDB Is Helping Organizations Win

See how real companies are using generative AI technologies to accelerate time to value, optimize costs, and improve customer satisfaction.

Learn More