langchain/libs/core/tests/unit_tests/prompts
James Braza 8b0060184d
Fixing empty input variable crashing PromptTemplate validations (#14314)
- Fixes `input_variables=[""]` crashing validations with a template
`"{}"`
- Uses `__cause__` for proper `Exception` chaining in
`check_valid_template`
2023-12-05 13:13:08 -08:00
..
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
prompt_extra_args.json Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
prompt_missing_args.json Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
simple_prompt.json Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_chat.py BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
test_few_shot_with_templates.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_few_shot.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
test_imports.py BUGFIX: add prompt imports for backwards compat (#13702) 2023-11-21 23:04:20 -08:00
test_loading.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_pipeline_prompt.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_prompt.py Fixing empty input variable crashing PromptTemplate validations (#14314) 2023-12-05 13:13:08 -08:00
test_utils.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00