Cloud AI Platform v1beta1 API - Class CoherenceResult (1.0.0-beta04)

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

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class CoherenceResult.

Spec for coherence result.

Inheritance

object > CoherenceResult

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

CoherenceResult()

public CoherenceResult()

CoherenceResult(CoherenceResult)

public CoherenceResult(CoherenceResult other)
Parameter
Name Description
other CoherenceResult

Properties

Confidence

public float Confidence { get; set; }

Output only. Confidence for coherence score.

Property Value
Type Description
float

Explanation

public string Explanation { get; set; }

Output only. Explanation for coherence score.

Property Value
Type Description
string

HasConfidence

public bool HasConfidence { get; }

Gets whether the "confidence" field is set

Property Value
Type Description
bool

HasScore

public bool HasScore { get; }

Gets whether the "score" field is set

Property Value
Type Description
bool

Score

public float Score { get; set; }

Output only. Coherence score.

Property Value
Type Description
float