In this example, we’ll imagine that our chatbot needs to answer questions about the content of a website. To do that, we’ll need a way to store and access that information when the chatbot generates its response.
Source: Building a Multi-User Chatbot with Langchain and Pinecone in Next.JS