img_utils
autogen.agentchat.contrib.img_utils.gpt4v_formatter
gpt4v_formatter
Formats the input prompt by replacing image tags and returns a list of text and images.
Name | Description |
---|---|
prompt | Type: str |
img_format | Type: str Default: ‘uri’ |
Type | Description |
---|---|
list[str | dict[str, typing.Any]] | - List[Union[str, dict[str, Any]]]: A list of alternating text and image dictionary items. |