Model Armor v1beta API - Class MultiLanguageDetectionMetadata (1.0.0-beta04)

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

Reference documentation and code samples for the Model Armor v1beta API class MultiLanguageDetectionMetadata.

Message for Enabling Multi Language Detection.

Inheritance

object > MultiLanguageDetectionMetadata

Namespace

Google.Cloud.ModelArmor.V1Beta

Assembly

Google.Cloud.ModelArmor.V1Beta.dll

Constructors

MultiLanguageDetectionMetadata()

public MultiLanguageDetectionMetadata()

MultiLanguageDetectionMetadata(MultiLanguageDetectionMetadata)

public MultiLanguageDetectionMetadata(MultiLanguageDetectionMetadata other)
Parameter
Name Description
other MultiLanguageDetectionMetadata

Properties

EnableMultiLanguageDetection

public bool EnableMultiLanguageDetection { get; set; }

Optional. Enable detection of multi-language prompts and responses.

Property Value
Type Description
bool

SourceLanguage

public string SourceLanguage { get; set; }

Optional. Optional Source language of the user prompt.

If multi-language detection is enabled but language is not set in that case we would automatically detect the source language.

Property Value
Type Description
string