Class ResolvedEntity
Resolved entity.
Inherited Members
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class ResolvedEntity
Properties
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | id of the resolved entity in input |
Remarks
Required
Length
Declaration
[Required(ErrorMessage = "Length is required.")]
[JsonProperty(PropertyName = "length")]
public int? Length { get; set; }
Property Value
Type | Description |
---|---|
int? | length of resolved entity in input |
Remarks
Required
Offset
Declaration
[Required(ErrorMessage = "Offset is required.")]
[JsonProperty(PropertyName = "offset")]
public int? Offset { get; set; }
Property Value
Type | Description |
---|---|
int? | offset of resolved entity in input |
Remarks
Required
Text
Declaration
[Required(ErrorMessage = "Text is required.")]
[JsonProperty(PropertyName = "text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string | Entity text like name of person, location, and so on. |
Remarks
Required
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | Type of entity text like PER, LOC. |
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public Dictionary<string, string> Value { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | key and value pair for resolved entities. keys can be specific for each type of resolved entity. Values can be instances of resolvedEntity, arrays of resolvedEntities, primitives, or custom JSON. |
Remarks
Required