Values.DetectEntitiesV2ResponseSourceInspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information. Amazon Comprehend Medical only detects medical entities in English language texts. The DetectEntitiesV2 operation replaces the DetectEntities operation. This new action uses a different model for determining the entities in your medical text and changes the way that some entities are returned in the output. You should use the DetectEntitiesV2 operation in all new applications. The DetectEntitiesV2 operation returns the Acuity and Direction entities as attributes instead of types.
type nonrec t = {entities : EntityList.t option;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.
*)unmappedAttributes : UnmappedAttributeList.t option;Attributes extracted from the input text that couldn't be related to an entity.
*)paginationToken : String_.t option;If the result to the DetectEntitiesV2 operation was truncated, include the PaginationToken to fetch the next page of entities.
*)modelVersion : String_.t option;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.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidEncodingException of InvalidEncodingException.t| `InvalidRequestException of InvalidRequestException.t| `TextSizeLimitExceededException of TextSizeLimitExceededException.t| `TooManyRequestsException of TooManyRequestsException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidEncodingException of InvalidEncodingException.t
| `InvalidRequestException of InvalidRequestException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidEncodingException of InvalidEncodingException.t
| `InvalidRequestException of InvalidRequestException.t
| `ServiceUnavailableException of ServiceUnavailableException.t
| `TextSizeLimitExceededException of TextSizeLimitExceededException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Float of Float_.t ])
list ]
list
| `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `Float of Float_.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string | `Float of Float_.t ])
list ]
list
| `String of String_.t ])
list ])
list ]
list
| `String of String_.t ])
list ]