HealthEntityDocumentResult

class oci.ai_language.models.HealthEntityDocumentResult(**kwargs)

Bases: object

The document response for health entity detect call.

Methods

__init__(**kwargs) Initializes a new HealthEntityDocumentResult object with values from keyword arguments.

Attributes

entities [Required] Gets the entities of this HealthEntityDocumentResult.
key [Required] Gets the key of this HealthEntityDocumentResult.
language_code [Required] Gets the language_code of this HealthEntityDocumentResult.
relations Gets the relations of this HealthEntityDocumentResult.
resolved_entities [Required] Gets the resolved_entities of this HealthEntityDocumentResult.
__init__(**kwargs)

Initializes a new HealthEntityDocumentResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this HealthEntityDocumentResult.
  • entities (list[oci.ai_language.models.HealthEntity]) – The value to assign to the entities property of this HealthEntityDocumentResult.
  • relations (list[oci.ai_language.models.RelationEntity]) – The value to assign to the relations property of this HealthEntityDocumentResult.
  • resolved_entities (dict(str, ResolvedEntities)) – The value to assign to the resolved_entities property of this HealthEntityDocumentResult.
  • language_code (str) – The value to assign to the language_code property of this HealthEntityDocumentResult.
entities

[Required] Gets the entities of this HealthEntityDocumentResult. List of detected entities.

Returns:The entities of this HealthEntityDocumentResult.
Return type:list[oci.ai_language.models.HealthEntity]
key

[Required] Gets the key of this HealthEntityDocumentResult. Document unique identifier defined by the user.

Returns:The key of this HealthEntityDocumentResult.
Return type:str
language_code

[Required] Gets the language_code of this HealthEntityDocumentResult. Language code of the document. Please refer to respective model API documentation for supported languages.

Returns:The language_code of this HealthEntityDocumentResult.
Return type:str
relations

Gets the relations of this HealthEntityDocumentResult. List of succeeded document response.

Returns:The relations of this HealthEntityDocumentResult.
Return type:list[oci.ai_language.models.RelationEntity]
resolved_entities

[Required] Gets the resolved_entities of this HealthEntityDocumentResult. Map of resolved entities by entity type

Returns:The resolved_entities of this HealthEntityDocumentResult.
Return type:dict(str, ResolvedEntities)