Class GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage
The prompt message that aligns with the prompt message in google.cloud.aiplatform.master.GenerateContentRequest.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage : IDirectResponseSchema
Properties
Contents
The 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<GoogleCloudAiplatformV1beta1Content> Contents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Content> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GenerationConfig
Generation config.
Declaration
[JsonProperty("generationConfig")]
public virtual GoogleCloudAiplatformV1beta1GenerationConfig GenerationConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1GenerationConfig |
Model
The model name.
Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type | Description |
---|---|
string |
SafetySettings
Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates.
Declaration
[JsonProperty("safetySettings")]
public virtual IList<GoogleCloudAiplatformV1beta1SafetySetting> SafetySettings { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1SafetySetting> |
SystemInstruction
The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph.
Declaration
[JsonProperty("systemInstruction")]
public virtual GoogleCloudAiplatformV1beta1Content SystemInstruction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1Content |
ToolConfig
Tool config. This config is shared for all tools provided in the request.
Declaration
[JsonProperty("toolConfig")]
public virtual GoogleCloudAiplatformV1beta1ToolConfig ToolConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1ToolConfig |
Tools
A list of Tools
the model may use to generate the next response. A Tool
is a piece of code that enables
the system to interact with external systems to perform an action, or set of actions, outside of knowledge
and scope of the model.
Declaration
[JsonProperty("tools")]
public virtual IList<GoogleCloudAiplatformV1beta1Tool> Tools { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Tool> |