We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verbose output
The history is not getting saved. I defined the chain as follows
chain = ConversationChain(llm=llm, verbose=True, memory=ConversationBufferMemory())
I also tried using prompts and LLM chain
#prompt= prompt definition here prompt = PromptTemplate( input_variables=["history", "human_input"], template=template ) chatgpt_chain = LLMChain( llm=llm, prompt=prompt, verbose=True, memory=ConversationBufferWindowMemory(k=4), ) output = chatgpt_chain.predict(human_input="Hello")
All of this works fine on notebooks but in streamlit app, the history is not getting passes in prompt
The text was updated successfully, but these errors were encountered:
Hey. I made a PR with a suggested approach to ensuring memory persists between messages: take a look at #1
Sorry, something went wrong.
@samdobson This works! Thanks
No branches or pull requests
Verbose output
The history is not getting saved.
I defined the chain as follows
I also tried using prompts and LLM chain
All of this works fine on notebooks but in streamlit app, the history is not getting passes in prompt
The text was updated successfully, but these errors were encountered: