Skip to content

A2UIParseResult

autogen.agents.experimental.a2ui.response_parser.A2UIParseResult dataclass #

A2UIParseResult(text, operations, has_a2ui, raw_json=None, parse_error=None)

Result of parsing an agent response for A2UI content.

text instance-attribute #

text

The conversational text portion of the response.

operations instance-attribute #

operations

The parsed A2UI operation objects.

has_a2ui instance-attribute #

has_a2ui

Whether the response contained A2UI content.

raw_json class-attribute instance-attribute #

raw_json = None

The raw JSON string extracted from the response, if any.

parse_error class-attribute instance-attribute #

parse_error = None

Error message if JSON parsing failed.