Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest

Request message for GroundedGenerationService.CheckGrounding method.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest
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 GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest : IDirectResponseSchema

Properties

AnswerCandidate

Answer candidate to check. It can have a maximum length of 4096 tokens.

Declaration
[JsonProperty("answerCandidate")]
public virtual string AnswerCandidate { 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

Facts

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

Declaration
[JsonProperty("facts")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaGroundingFact> Facts { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1alphaGroundingFact>

GroundingSpec

Configuration of the grounding check.

Declaration
[JsonProperty("groundingSpec")]
public virtual GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec GroundingSpec { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1alphaCheckGroundingSpec

UserLabels

The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See Google Cloud Document for more details.

Declaration
[JsonProperty("userLabels")]
public virtual IDictionary<string, string> UserLabels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX