Skip to content

Citation

Source code in docs_src/capo_bedrock_agent_runtime/types/citation.py
class Citation(TypedDict, closed=True):
    generated_response_part: NotRequired[
        "capo_bedrock_agent_runtime.types.generated_response_part.GeneratedResponsePart"
    ]
    """<p>Contains the generated response and metadata </p>"""
    retrieved_references: NotRequired[
        "capo_bedrock_agent_runtime.types.retrieved_references.RetrievedReferences"
    ]
    """<p>Contains metadata about the sources cited for the generated response.</p>"""

generated_response_part instance-attribute

generated_response_part: NotRequired[GeneratedResponsePart]

Contains the generated response and metadata

retrieved_references instance-attribute

retrieved_references: NotRequired[RetrievedReferences]

Contains metadata about the sources cited for the generated response.