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]