Data QnA v1alpha API - Class Interpretation (2.0.0-alpha02)

public sealed class Interpretation : IMessage<Interpretation>, IEquatable<Interpretation>, IDeepCloneable<Interpretation>, IBufferMessage, IMessage

Reference documentation and code samples for the Data QnA v1alpha API class Interpretation.

An interpretation of a natural language query.

Inheritance

object > Interpretation

Namespace

Google.Cloud.DataQnA.V1Alpha

Assembly

Google.Cloud.DataQnA.V1Alpha.dll

Constructors

Interpretation()

public Interpretation()

Interpretation(Interpretation)

public Interpretation(Interpretation other)
Parameter
NameDescription
otherInterpretation

Properties

Confidence

public double Confidence { get; set; }

The level of confidence that one of the interpretations is correct. This is a value in the range [0, 1] where a value of 0.5 or below is to be considered a low confidence.

Property Value
TypeDescription
double

DataQuery

public DataQuery DataQuery { get; set; }

Representation of the data query to be sent to the backend.

Property Value
TypeDescription
DataQuery

DataSources

public RepeatedField<string> DataSources { get; }

List of data sources used in the current understanding.

Property Value
TypeDescription
RepeatedFieldstring

ExecutionInfo

public ExecutionInfo ExecutionInfo { get; set; }

Information about the backend response. This is populated only if execution of an interpretation was requested.

Property Value
TypeDescription
ExecutionInfo

HumanReadable

public HumanReadable HumanReadable { get; set; }

Human readable representation of the query.

Property Value
TypeDescription
HumanReadable

InterpretationStructure

public InterpretationStructure InterpretationStructure { get; set; }

Information about the interpretation structure that helps to understand and visualize the response.

Property Value
TypeDescription
InterpretationStructure

UnusedPhrases

public RepeatedField<string> UnusedPhrases { get; }

A list of unused phrases. Clients should display a Did You Mean (DYM) dialog if this is non-empty, even if this is the only interpretation.

Property Value
TypeDescription
RepeatedFieldstring