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> |
InfillPrefix
Preamble: For infill prompt, the prefix before expected model response.
Declaration
[JsonProperty("infillPrefix")]
public virtual string InfillPrefix { get; set; }
Property Value
Type | Description |
---|---|
string |
InfillSuffix
Preamble: For infill prompt, the suffix after expected model response.
Declaration
[JsonProperty("infillSuffix")]
public virtual string InfillSuffix { get; set; }
Property Value
Type | Description |
---|---|
string |
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> |
PredictionInputs
Preamble: The input test data for prediction. Each PartList in this field represents one text-only input set for a single model request.
Declaration
[JsonProperty("predictionInputs")]
public virtual IList<GoogleCloudAiplatformV1SchemaPromptSpecPartList> PredictionInputs { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1SchemaPromptSpecPartList> |
PromptMessage
The prompt message.
Declaration
[JsonProperty("promptMessage")]
public virtual GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage PromptMessage { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage |