langchain/libs/core/langchain_core/prompts
William FH 528fc76d6a
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']"
```
2023-12-01 09:06:35 -08:00
..
__init__.py BUGFIX: add prompt imports for backwards compat (#13702) 2023-11-21 23:04:20 -08:00
base.py Update Prompt Format Error (#14044) 2023-12-01 09:06:35 -08:00
chat.py Added partial_variables to BaseStringMessagePromptTemplate.from_template(...) (#13645) 2023-11-21 17:48:38 -08:00
few_shot_with_templates.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
few_shot.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
loading.py improvement: fix chat prompt loading from config (#13818) 2023-11-27 11:39:50 -05:00
pipeline.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
prompt.py BUGFIX: add prompt imports for backwards compat (#13702) 2023-11-21 23:04:20 -08:00
string.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00