langchain
528fc76d - Update Prompt Format Error (#14044)

Commit
2 years ago
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']" ```
Author
Parents
Loading