Skip to content

Bedrock Agent Runtime  >  Structures  >  Span

Span

Structure Class

Span dataclass

Contains information about where the text with a citation begins and ends in the generated output.

This data type is used in the following API operations:

Attributes

end class-attribute instance-attribute
end: int | None = None

Where the text with a citation ends in the generated output.

start class-attribute instance-attribute
start: int | None = None

Where the text with a citation starts in the generated output.