Skip to content

Span

Source code in docs_src/capo_bedrock_agent_runtime/types/span.py
class Span(TypedDict, closed=True):
    start: NotRequired["int"]
    """<p>Where the text with a citation starts in the generated output.</p>"""
    end: NotRequired["int"]
    """<p>Where the text with a citation ends in the generated output.</p>"""

end instance-attribute

end: NotRequired[int]

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

start instance-attribute

start: NotRequired[int]

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