mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +00:00
380449a7a9
Fixes #27411 **Description:** Adds `template_format` to the `ImagePromptTemplate` class and updates passing in the `template_format` parameter from ChatPromptTemplate instead of the hardcoded "f-string". Also updated docs and typing related to `template_format` to be more up-to-date and specific. **Dependencies:** None **Add tests and docs**: Added unit tests to validate fix. Needed to update `test_chat` snapshot due to adding new attribute `template_format` in `ImagePromptTemplate`. --------- Co-authored-by: Vadym Barda <vadym@langchain.dev>
3 lines
32 B
Plaintext
3 lines
32 B
Plaintext
jinja2>=3,<4
|
|
mustache>=0.1.4,<1
|