langchain
39b19cf7 - core[patch]: extract input variables for `path` and `detail` keys in order to format an `ImagePromptTemplate` (#22613)

Commit
1 year ago
core[patch]: extract input variables for `path` and `detail` keys in order to format an `ImagePromptTemplate` (#22613) - Description: Add support for `path` and `detail` keys in `ImagePromptTemplate`. Previously, only variables associated with the `url` key were considered. This PR allows for the inclusion of a local image path and a detail parameter as input to the format method. - Issues: - fixes #20820 - related to #22024 - Dependencies: None - Twitter handle: @DeschampsTho5 --------- Co-authored-by: tdeschamps <tdeschamps@kameleoon.com> Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com> Co-authored-by: Eugene Yurtsev <eugene@langchain.dev>
Author
Parents
Loading