public sealed class GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport : IMessage<GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport>, IEquatable<GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport>, IDeepCloneable<GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport.
Grounding info for a claim in the candidate and its support.
Inheritance
object > GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupportImplements
IMessageGenerateGroundedContentResponseTypesCandidateTypesGroundingMetadataTypesGroundingSupport, IEquatableGenerateGroundedContentResponseTypesCandidateTypesGroundingMetadataTypesGroundingSupport, IDeepCloneableGenerateGroundedContentResponseTypesCandidateTypesGroundingMetadataTypesGroundingSupport, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
GroundingSupport()
public GroundingSupport()
GroundingSupport(GroundingSupport)
public GroundingSupport(GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.GroundingSupport other)
Parameter | |
---|---|
Name | Description |
other |
GenerateGroundedContentResponseTypesCandidateTypesGroundingMetadataTypesGroundingSupport |
Properties
ClaimText
public string ClaimText { get; set; }
Text for the claim in the candidate. Always provided when a support is found.
Property Value | |
---|---|
Type | Description |
string |
HasSupportScore
public bool HasSupportScore { get; }
Gets whether the "support_score" field is set
Property Value | |
---|---|
Type | Description |
bool |
SupportChunkIndices
public RepeatedField<int> SupportChunkIndices { get; }
A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
Property Value | |
---|---|
Type | Description |
RepeatedFieldint |
SupportScore
public float SupportScore { get; set; }
A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks.
Property Value | |
---|---|
Type | Description |
float |