Skip to content

AgenticRetrieveStreamResponse

Source code in docs_src/capo_context/types/agentic_retrieve_stream_response.py
class AgenticRetrieveStreamResponse(TypedDict, closed=True):
    stream: (
        "capo_context.types.agentic_retrieve_stream_output.AgenticRetrieveStreamOutput"
    )
    """<p>The events of the retrieval, in order: progress events while the agent context is searched, chunks of the answer as it is written, and a final result with the answer and the retrieved context. An error event ends the stream.</p>"""

stream instance-attribute

The events of the retrieval, in order: progress events while the agent context is searched, chunks of the answer as it is written, and a final result with the answer and the retrieved context. An error event ends the stream.