ImagePromptValue#
- class langchain_core.prompt_values.ImagePromptValue[source]#
Bases:
PromptValue
Image prompt value.
- param type: Literal['ImagePromptValue'] = 'ImagePromptValue'#
- to_messages() List[BaseMessage] [source]#
Return prompt (image URL) as messages.
- Return type:
List[BaseMessage]