public sealed class Claim : IMessage<Claim>, IEquatable<Claim>, IDeepCloneable<Claim>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class Claim.
Claim that is extracted from the input text and facts that support it.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Claim()
public Claim()
Claim(Claim)
public Claim(Claim other)
Parameter | |
---|---|
Name | Description |
other |
Claim |
Properties
EndIndex
public int EndIndex { get; set; }
Index in the input text where the claim ends (exclusive).
Property Value | |
---|---|
Type | Description |
int |
FactIndexes
public RepeatedField<int> FactIndexes { get; }
Indexes of the facts supporting this claim.
Property Value | |
---|---|
Type | Description |
RepeatedFieldint |
HasEndIndex
public bool HasEndIndex { get; }
Gets whether the "end_index" 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 |
HasStartIndex
public bool HasStartIndex { get; }
Gets whether the "start_index" field is set
Property Value | |
---|---|
Type | Description |
bool |
Score
public float Score { get; set; }
Confidence score of this corroboration.
Property Value | |
---|---|
Type | Description |
float |
StartIndex
public int StartIndex { get; set; }
Index in the input text where the claim starts (inclusive).
Property Value | |
---|---|
Type | Description |
int |