Skip to content

DetectEntitiesV2Response

Source code in docs_src/capo_comprehendmedical/types/detect_entities_v2_response.py
class DetectEntitiesV2Response(TypedDict, closed=True):
    entities: "capo_comprehendmedical.types.entity_list.EntityList"
    """<p>The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence in the detection and analysis. Attributes and traits of the entity are also returned.</p>"""
    unmapped_attributes: NotRequired[
        "capo_comprehendmedical.types.unmapped_attribute_list.UnmappedAttributeList"
    ]
    """<p>Attributes extracted from the input text that couldn't be related to an entity.</p>"""
    pagination_token: NotRequired["capo_comprehendmedical.types.string.String"]
    """<p>If the result to the <code>DetectEntitiesV2</code> operation was truncated, include the <code>PaginationToken</code> to fetch the next page of entities.</p>"""
    model_version: "capo_comprehendmedical.types.string.String"
    """<p>The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.</p>"""

entities instance-attribute

entities: EntityList

The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence in the detection and analysis. Attributes and traits of the entity are also returned.

model_version instance-attribute

model_version: String

The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.

pagination_token instance-attribute

pagination_token: NotRequired[String]

If the result to the DetectEntitiesV2 operation was truncated, include the PaginationToken to fetch the next page of entities.

unmapped_attributes instance-attribute

unmapped_attributes: NotRequired[UnmappedAttributeList]

Attributes extracted from the input text that couldn't be related to an entity.