How to set a template in ConversationalRetrievalChain? There is no suitable variable to use in the code anymore #5491
Unanswered
DennisPeeters
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi,
I cannot set a "template" variable in the chain. And indeed when looking at the source code (https://github.com/hwchase17/langchain/blob/master/langchain/chains/conversational_retrieval/base.py)
There is no suitable variable for "template" anymore.
Trying to add the template variable myself off course leads to the error: "ValidationError: 1 validation error for ConversationalRetrievalChain template extra fields not permitted (type=value_error.extra)"
Any idea where my thinking is wrong?
Beta Was this translation helpful? Give feedback.
All reactions