langchain/libs/core/tests/unit_tests/prompts
William FH 131c043864
Fix loading of ImagePromptTemplate (#16868)
We didn't override the namespace of the ImagePromptTemplate, so it is
listed as being in langchain.schema

This updates the mapping to let the loader deserialize.

Alternatively, we could make a slight breaking change and update the
namespace of the ImagePromptTemplate since we haven't broadly
publicized/documented it yet..
2024-02-01 17:54:04 -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 core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -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 [core] prompt changes (#15186) 2023-12-26 15:52:17 -08:00
test_image.py Fix loading of ImagePromptTemplate (#16868) 2024-02-01 17:54:04 -08:00
test_imports.py BUGFIX: add prompt imports for backwards compat (#13702) 2023-11-21 23:04:20 -08:00
test_loading.py infra: absolute EXAMPLE_DIR path in core unit tests (#16325) 2024-01-22 14:00:23 -08:00
test_pipeline_prompt.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_prompt.py core:adds tests for partial_variables (#15427) 2024-01-02 15:00:06 -08:00
test_utils.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00