Smaws_Client_ComprehendMedical.DetectEntitiesV2Inspects 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidEncodingException of Types.invalid_encoding_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ServiceUnavailableException of Types.service_unavailable_exception
| `TextSizeLimitExceededException of Types.text_size_limit_exceeded_exception
| `TooManyRequestsException of Types.too_many_requests_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.detect_entities_v2_request ->
(Types.detect_entities_v2_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidEncodingException of Types.invalid_encoding_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ServiceUnavailableException of Types.service_unavailable_exception
| `TextSizeLimitExceededException of
Types.text_size_limit_exceeded_exception
| `TooManyRequestsException of Types.too_many_requests_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.detect_entities_v2_request ->
(Types.detect_entities_v2_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidEncodingException of Types.invalid_encoding_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ServiceUnavailableException of Types.service_unavailable_exception
| `TextSizeLimitExceededException of
Types.text_size_limit_exceeded_exception
| `TooManyRequestsException of Types.too_many_requests_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result