Dialogflow v3 API - Class LanguageInfo (2.21.0)

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

Reference documentation and code samples for the Dialogflow v3 API class LanguageInfo.

Represents the language information of the request.

Inheritance

object > LanguageInfo

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

LanguageInfo()

public LanguageInfo()

LanguageInfo(LanguageInfo)

public LanguageInfo(LanguageInfo other)
Parameter
Name Description
other LanguageInfo

Properties

ConfidenceScore

public float ConfidenceScore { get; set; }

The confidence score of the detected language between 0 and 1.

Property Value
Type Description
float

InputLanguageCode

public string InputLanguageCode { get; set; }

The language code specified in the original [request][google.cloud.dialogflow.cx.v3.QueryInput.language_code].

Property Value
Type Description
string

ResolvedLanguageCode

public string ResolvedLanguageCode { get; set; }

The language code detected for this request based on the user conversation.

Property Value
Type Description
string