Discovery Engine v1beta API - Class AnswerQueryRequest.Types.GroundingSpec (1.0.0-beta18)

public sealed class AnswerQueryRequest.Types.GroundingSpec : IMessage<AnswerQueryRequest.Types.GroundingSpec>, IEquatable<AnswerQueryRequest.Types.GroundingSpec>, IDeepCloneable<AnswerQueryRequest.Types.GroundingSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class AnswerQueryRequest.Types.GroundingSpec.

Grounding specification.

Inheritance

object > AnswerQueryRequest.Types.GroundingSpec

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

GroundingSpec()

public GroundingSpec()

GroundingSpec(GroundingSpec)

public GroundingSpec(AnswerQueryRequest.Types.GroundingSpec other)
Parameter
Name Description
other AnswerQueryRequestTypesGroundingSpec

Properties

FilteringLevel

public AnswerQueryRequest.Types.GroundingSpec.Types.FilteringLevel FilteringLevel { get; set; }

Optional. Specifies whether to enable the filtering based on grounding score and at what level.

Property Value
Type Description
AnswerQueryRequestTypesGroundingSpecTypesFilteringLevel

IncludeGroundingSupports

public bool IncludeGroundingSupports { get; set; }

Optional. Specifies whether to include grounding_supports in the answer. The default value is false.

When this field is set to true, returned answer will have grounding_score and will contain GroundingSupports for each claim.

Property Value
Type Description
bool