Skip to content

AgenticRetrieveAction

Source code in docs_src/capo_context/types/agentic_retrieve_action.py
class AgenticRetrieveAction(TypedDict, closed=True):
    input_query: NotRequired["capo_context.types.trace_message.TraceMessage"]
    """<p>The query the agent composed.</p>"""
    source_retrievers: NotRequired[
        "capo_context.types.agentic_retrieve_source_retriever_list.AgenticRetrieveSourceRetrieverList"
    ]
    """<p>The sources that the retrieval targets: an agent context, a knowledge base, or a data source.</p>"""

input_query instance-attribute

input_query: NotRequired[TraceMessage]

The query the agent composed.

source_retrievers instance-attribute

source_retrievers: NotRequired[AgenticRetrieveSourceRetrieverList]

The sources that the retrieval targets: an agent context, a knowledge base, or a data source.