Class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt
Prompt variation that stores preambles in separate fields.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt : IDirectResponseSchema
Properties
Context
Preamble: The context of the prompt.
Declaration
[JsonProperty("context")]
public virtual GoogleCloudAiplatformV1Content Context { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1Content |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Examples
Preamble: A set of examples for expected model response.
Declaration
[JsonProperty("examples")]
public virtual IList<GoogleCloudAiplatformV1SchemaPromptSpecPartList> Examples { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1SchemaPromptSpecPartList> |
InputPrefixes
Preamble: The input prefixes before each example input.
Declaration
[JsonProperty("inputPrefixes")]
public virtual IList<string> InputPrefixes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
OutputPrefixes
Preamble: The output prefixes before each example output.
Declaration
[JsonProperty("outputPrefixes")]
public virtual IList<string> OutputPrefixes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
PromptMessage
The prompt message.
Declaration
[JsonProperty("promptMessage")]
public virtual GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage PromptMessage { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage |