langchain/libs/core/langchain_core/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 BUGFIX: add prompt imports for backwards compat (#13702) 2023-11-21 23:04:20 -08:00
base.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
chat.py docs: add csv use case (#16756) 2024-01-30 09:39:46 -08:00
few_shot_with_templates.py manual mapping (#14422) 2023-12-08 16:29:33 -08:00
few_shot.py core[patch]: simple prompt pretty printing (#15968) 2024-01-12 21:08:51 -05:00
image.py Fix loading of ImagePromptTemplate (#16868) 2024-02-01 17:54:04 -08:00
loading.py improvement: fix chat prompt loading from config (#13818) 2023-11-27 11:39:50 -05:00
pipeline.py manual mapping (#14422) 2023-12-08 16:29:33 -08:00
prompt.py Patch: improve type hint (#15451) 2024-01-02 22:39:27 -08:00
string.py core[patch]: simple prompt pretty printing (#15968) 2024-01-12 21:08:51 -05:00