Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim

Text and citation info for a claim in the answer candidate.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaCheckGroundingResponseClaim : IDirectResponseSchema

Properties

CitationIndices

A list of indices (into 'cited_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited supporting for the claim. A citation to a fact indicates that the claim is supported by the fact.

Declaration
[JsonProperty("citationIndices")]
public virtual IList<int?> CitationIndices { get; set; }
Property Value
Type Description
IList<int?>

ClaimText

Text for the claim in the answer candidate. Always provided regardless of whether citations or anti-citations are found.

Declaration
[JsonProperty("claimText")]
public virtual string ClaimText { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EndPos

Position indicating the end of the claim in the answer candidate, exclusive, in bytes. Note that this is not measured in characters and, therefore, must be rendered as such. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent).

Declaration
[JsonProperty("endPos")]
public virtual int? EndPos { get; set; }
Property Value
Type Description
int?

GroundingCheckRequired

Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices should not be returned.

Declaration
[JsonProperty("groundingCheckRequired")]
public virtual bool? GroundingCheckRequired { get; set; }
Property Value
Type Description
bool?

Score

Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set only when CheckGroundingRequest.grounding_spec.enable_claim_level_score is true.

Declaration
[JsonProperty("score")]
public virtual double? Score { get; set; }
Property Value
Type Description
double?

StartPos

Position indicating the start of the claim in the answer candidate, measured in bytes. Note that this is not measured in characters and, therefore, must be rendered in the user interface keeping in mind that some characters may take more than one byte. For example, if the claim text contains non-ASCII characters, the start and end positions vary when measured in characters (programming-language-dependent) and when measured in bytes (programming-language-independent).

Declaration
[JsonProperty("startPos")]
public virtual int? StartPos { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX