Class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest
Top-level message sent by the client for the GenerateGroundedContent
method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequest : IDirectResponseSchema
Properties
Contents
Content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request.
Declaration
[JsonProperty("contents")]
public virtual IList<GoogleCloudDiscoveryengineV1betaGroundedGenerationContent> Contents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudDiscoveryengineV1betaGroundedGenerationContent> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GenerationSpec
Content generation specification.
Declaration
[JsonProperty("generationSpec")]
public virtual GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec GenerationSpec { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGenerationSpec |
GroundingSpec
Grounding specification.
Declaration
[JsonProperty("groundingSpec")]
public virtual GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec GroundingSpec { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaGenerateGroundedContentRequestGroundingSpec |
SystemInstruction
Content of the system instruction for the current API. These instructions will take priority over any other prompt instructions if the selected model is supporting them.
Declaration
[JsonProperty("systemInstruction")]
public virtual GoogleCloudDiscoveryengineV1betaGroundedGenerationContent SystemInstruction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1betaGroundedGenerationContent |
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> |