mirror of
https://github.com/hwchase17/langchain
synced 2024-10-31 15:20:26 +00:00
528fc76d6a
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']" ``` |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
chat.py | ||
few_shot_with_templates.py | ||
few_shot.py | ||
loading.py | ||
pipeline.py | ||
prompt.py | ||
string.py |