FO
conversation_summary = ConversationChain( llm=llm, memory=ConversationBufferWindowMemory(k=10, return_messages=True), prompt=prompt_template, verbose=True ) update this line, it resolved my issue.
ReplyArticleDec 29, 2023Building an Interactive Chatbot with Langchain, ChatGPT, Pinecone, and Streamlit