-
I'm experimenting on the message history pattern backed with dynamoDB. On the client side, I'm following the code here, I have it as
on the server side I have:
I'm getting following error:
It's been working fine for a normal chat completion end point for me for a while now. I imagine it's because runnableWithHistory's input_message_key is set, that expect a different input format? What else I tried:
I'm kind lost on what the correct format I should be using, wondering if anyone could help me |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'm dumb, I have a layer of code doing the template, and didn't realize that I need to chain the template with llm |
Beta Was this translation helpful? Give feedback.
I'm dumb, I have a layer of code doing the template, and didn't realize that I need to chain the template with llm