Discovery Engine v1 API - Class CheckGroundingSpec (1.3.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class CheckGroundingSpec.

Specification for the grounding check.

Inheritance

object > CheckGroundingSpec

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

CheckGroundingSpec()

public CheckGroundingSpec()

CheckGroundingSpec(CheckGroundingSpec)

public CheckGroundingSpec(CheckGroundingSpec other)
Parameter
Name Description
other CheckGroundingSpec

Properties

CitationThreshold

public double CitationThreshold { get; set; }

The threshold (in [0,1]) used for determining whether a fact must be cited for a claim in the answer candidate. Choosing a higher threshold will lead to fewer but very strong citations, while choosing a lower threshold may lead to more but somewhat weaker citations. If unset, the threshold will default to 0.6.

Property Value
Type Description
double

HasCitationThreshold

public bool HasCitationThreshold { get; }

Gets whether the "citation_threshold" field is set

Property Value
Type Description
bool