-
Using the most simple example with a conversational chain, how does one populate the For example, when calling
How do you properly specify values for |
Beta Was this translation helpful? Give feedback.
Answered by
Und3rf10w
Jul 21, 2023
Replies: 1 comment
-
Okay, I think you can just use: messages = langchain.schema.messages.from_dict(json.loads(request.chat_history))
for message in messages:
langchain_object.memory.chat_memory.add_message(message) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Und3rf10w
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, I think you can just use: