How do I use templates and memory together? #5350
Unanswered
perezbalen
asked this question in
Q&A
Replies: 2 comments
-
Hey, Actually I'm building a tool that will help us with exactly this use case. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually, I tried to make smth like that
and when I want to get specific answer i use:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I'm new here, so I don't know if this is a stufid question, but I've been having trouble with using templates and memory on a chain at the same time.
I have this code, that works:
This code also works (note the removal of memory on the LLMChain and the inclusion of keys in the chat_chain.predict):
But this doesn't:
It gives an error I don't understand
Beta Was this translation helpful? Give feedback.
All reactions