Small question what would happen if you start a chat with empty history, because the chat needs to know that its history is empty, and still access the data from the vector store
@TrickSumo Жыл бұрын
ConversationRetrievalChain without history would be just equal to RetrievalQAChain. Even without history, it will get data from the vector store. But without history, it would not know how your question is related to previous querstion.
@thestacksdev Жыл бұрын
Then what happens in a new session, where there's no history 😕
@TrickSumo Жыл бұрын
@@thestacksdev Yes, for a new session, there will be no data. If you want to continue chatting even after reloading the webpage, consider using DB to store chats. Or you might try local storage to store chats.