Show / Hide Table of Contents

Class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt

Prompt variation that stores preambles in separate fields.

Inheritance
object
GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt
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.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1SchemaPromptSpecStructuredPrompt : IDirectResponseSchema

Properties

Context

Preamble: The context of the prompt.

Declaration
[JsonProperty("context")]
public virtual GoogleCloudAiplatformV1beta1Content Context { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1Content

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<GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList> Examples { get; set; }
Property Value
Type Description
IList<GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList>

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<GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList> PredictionInputs { get; set; }
Property Value
Type Description
IList<GoogleCloudAiplatformV1beta1SchemaPromptSpecPartList>

PromptMessage

The prompt message.

Declaration
[JsonProperty("promptMessage")]
public virtual GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage PromptMessage { get; set; }
Property Value
Type Description
GoogleCloudAiplatformV1beta1SchemaPromptSpecPromptMessage

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX