Great question — answering as the UphillTech team:
Yes, there is. But first, keep in mind that the chatbot doesn't "learn" anything from the PDF files' texts you load into the vectorstore; it compares the user's question embeddings to find the most similar matches with your texts' embeddings in your vectorstore. To get you started with a Document QA chatbot with Conversationcapabilities, I'd recommend you try this Agent: from langchain.chat_models import ChatOpenAI from langchain.agents.openai_functions_agent.agent_token_buffer_memory import AgentTokenBufferMemory from langchain.agents.openai_functions_agent.base import OpenAIFunctionsAgent from langchain.schema.messages import SystemMessage from langchain.prompts import MessagesPlaceholder...
Full answer by Rodrigo Vega Moreno: https://stackoverflow.stackexchange.com/a/77086051 (CC BY-SA 4.0).
Want it for your business? UphillTech.