Skip to content

AgenticRetrieveGeneratedResponse

Source code in docs_src/capo_bedrock_agent_runtime/types/agentic_retrieve_generated_response.py
class AgenticRetrieveGeneratedResponse(TypedDict, closed=True):
    answer: "str"
    """<p>The generated answer text.</p>"""
    citations: NotRequired[
        "capo_bedrock_agent_runtime.types.agentic_retrieve_citation_list.AgenticRetrieveCitationList"
    ]
    """<p>Citations mapping spans of the answer to supporting results.</p>"""

answer instance-attribute

answer: str

The generated answer text.

citations instance-attribute

citations: NotRequired[AgenticRetrieveCitationList]

Citations mapping spans of the answer to supporting results.