Skip to content

GetOntologyInductionResponse

Source code in docs_src/capo_context/types/get_ontology_induction_response.py
class GetOntologyInductionResponse(TypedDict, closed=True):
    id: "capo_context.types.ontology_induction_identifier.OntologyInductionIdentifier"
    """<p>The ID of the induction, assigned by AWS Context.</p>"""
    arn: "capo_context.types.ontology_induction_arn.OntologyInductionArn"
    """<p>The Amazon Resource Name (ARN) of the ontology induction.</p>"""
    status: "capo_context.types.ontology_induction_status.OntologyInductionStatus"
    """<p>The status of the ontology induction: <code>INDUCING</code> while it runs, then <code>DRAFT</code> once it has created a draft ontology, or <code>FAILED</code>. An induction that CancelOntologyInduction stops is <code>CANCELLED</code>. <code>DRAFT</code>, <code>FAILED</code>, and <code>CANCELLED</code> are final.</p>"""
    failure: NotRequired[
        "capo_context.types.ontology_induction_failure.OntologyInductionFailure"
    ]
    """<p>Why the induction is FAILED. Absent in every other status.</p>"""
    ontology_name: NotRequired["capo_context.types.ontology_name.OntologyName"]
    """<p>The name the induction's ontology gets, as StartOntologyInduction took it (<code>ontologyName</code>). Once the ontology exists, its current name is GetOntology's.</p>"""
    ontology_description: NotRequired[
        "capo_context.types.user_defined_string.UserDefinedString"
    ]
    """<p>The description the induction's ontology gets (<code>ontologyDescription</code>). Absent when there is none.</p>"""
    ontology_id: NotRequired[
        "capo_context.types.ontology_identifier.OntologyIdentifier"
    ]
    """<p>The ontology the induction created. Present exactly when the status is DRAFT: the ontology is created as DRAFT, in the same step that makes the induction DRAFT. Absent while INDUCING, and on a FAILED or CANCELLED induction, which never has an ontology. Returned even after the ontology is deleted.</p>"""
    ontology_arn: NotRequired["capo_context.types.ontology_arn.OntologyArn"]
    """<p>The ARN of <code>ontologyId</code>. Present when it is.</p>"""
    created_at: "datetime.datetime"
    """<p>The date and time when the ontology induction was created.</p>"""
    updated_at: "datetime.datetime"
    """<p>The date and time when the ontology induction was last updated. Set when the induction is created, and updated on every change, such as a change of status.</p>"""
    seed_ontology_id: NotRequired[
        "capo_context.types.ontology_identifier.OntologyIdentifier"
    ]
    """<p>The seed ontology the induction started from. Absent when started without a seed. Returned in every status.</p>"""
    prompt: NotRequired[
        "capo_context.types.ontology_induction_prompt.OntologyInductionPrompt"
    ]
    """<p>The prompt that the induction was started with. Absent if the induction was started without a prompt.</p>"""
    input_config: NotRequired[
        "capo_context.types.ontology_induction_input_config_summary.OntologyInductionInputConfigSummary"
    ]
    """<p>What the induction was started from, without the document content.</p>"""

arn instance-attribute

The Amazon Resource Name (ARN) of the ontology induction.

created_at instance-attribute

created_at: datetime

The date and time when the ontology induction was created.

failure instance-attribute

failure: NotRequired[OntologyInductionFailure]

Why the induction is FAILED. Absent in every other status.

id instance-attribute

The ID of the induction, assigned by AWS Context.

input_config instance-attribute

input_config: NotRequired[OntologyInductionInputConfigSummary]

What the induction was started from, without the document content.

ontology_arn instance-attribute

ontology_arn: NotRequired[OntologyArn]

The ARN of ontologyId. Present when it is.

ontology_description instance-attribute

ontology_description: NotRequired[UserDefinedString]

The description the induction's ontology gets (ontologyDescription). Absent when there is none.

ontology_id instance-attribute

ontology_id: NotRequired[OntologyIdentifier]

The ontology the induction created. Present exactly when the status is DRAFT: the ontology is created as DRAFT, in the same step that makes the induction DRAFT. Absent while INDUCING, and on a FAILED or CANCELLED induction, which never has an ontology. Returned even after the ontology is deleted.

ontology_name instance-attribute

ontology_name: NotRequired[OntologyName]

The name the induction's ontology gets, as StartOntologyInduction took it (ontologyName). Once the ontology exists, its current name is GetOntology's.

prompt instance-attribute

prompt: NotRequired[OntologyInductionPrompt]

The prompt that the induction was started with. Absent if the induction was started without a prompt.

seed_ontology_id instance-attribute

seed_ontology_id: NotRequired[OntologyIdentifier]

The seed ontology the induction started from. Absent when started without a seed. Returned in every status.

status instance-attribute

The status of the ontology induction: INDUCING while it runs, then DRAFT once it has created a draft ontology, or FAILED. An induction that CancelOntologyInduction stops is CANCELLED. DRAFT, FAILED, and CANCELLED are final.

updated_at instance-attribute

updated_at: datetime

The date and time when the ontology induction was last updated. Set when the induction is created, and updated on every change, such as a change of status.