Discovery Engine v1beta API - Class CheckGroundingRequest (1.0.0-beta13)

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

Reference documentation and code samples for the Discovery Engine v1beta API class CheckGroundingRequest.

Request message for [GroundedGenerationService.CheckGrounding][google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding] method.

Inheritance

object > CheckGroundingRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CheckGroundingRequest()

public CheckGroundingRequest()

CheckGroundingRequest(CheckGroundingRequest)

public CheckGroundingRequest(CheckGroundingRequest other)
Parameter
Name Description
other CheckGroundingRequest

Properties

AnswerCandidate

public string AnswerCandidate { get; set; }

Answer candidate to check.

Property Value
Type Description
string

Facts

public RepeatedField<GroundingFact> Facts { get; }

List of facts for the grounding check. We support up to 200 facts.

Property Value
Type Description
RepeatedFieldGroundingFact

GroundingConfig

public string GroundingConfig { get; set; }

Required. The resource name of the grounding config, such as projects/*/locations/global/groundingConfigs/default_grounding_config.

Property Value
Type Description
string

GroundingConfigAsGroundingConfigName

public GroundingConfigName GroundingConfigAsGroundingConfigName { get; set; }

GroundingConfigName-typed view over the GroundingConfig resource name property.

Property Value
Type Description
GroundingConfigName

GroundingSpec

public CheckGroundingSpec GroundingSpec { get; set; }

Configuration of the grounding check.

Property Value
Type Description
CheckGroundingSpec