mirror of https://github.com/hwchase17/langchain
Update Prompt Format Error (#14044)
The number of times I try to format a string (especially in lcel) is embarrassingly high. Think this may be more actionable than the default error message. Now I get nice helpful errors ``` KeyError: "Input to ChatPromptTemplate is missing variable 'input'. Expected: ['input'] Received: ['dialogue']" ```pull/11877/head^2
parent
71c2e184b4
commit
528fc76d6a
Loading…
Reference in New Issue