Skip to content

OntologyReference

Source code in docs_src/capo_context/types/ontology_reference.py
class OntologyReference(TypedDict, closed=True):
    ontology_id: "capo_context.types.ontology_identifier.OntologyIdentifier"
    """<p>An ontology ID or ARN, in the account that owns the agent context.</p>"""
    ontology_version: NotRequired[
        "capo_context.types.ontology_version_string.OntologyVersionString"
    ]
    """<p>The ontology version to import. If you omit it, the task imports the ontology's default version at the time the import runs.</p>"""

ontology_id instance-attribute

ontology_id: OntologyIdentifier

An ontology ID or ARN, in the account that owns the agent context.

ontology_version instance-attribute

ontology_version: NotRequired[OntologyVersionString]

The ontology version to import. If you omit it, the task imports the ontology's default version at the time the import runs.