PromptTemplateConfig interface
Serialized prompt template configuration.
Properties
augmentation | Optional. Augmentation settings for the prompt. |
completion | Completion settings for the prompt. |
default_backends | |
description | Optional. Description of the prompts purpose. |
schema | The schema version of the prompt template. Can be '1' or '1.1'. |
type | Type of prompt template. Should always be 'completion'. |
Property Details
augmentation
Optional. Augmentation settings for the prompt.
augmentation?: AugmentationConfig
Property Value
Remarks
New in schema version 1.1.
completion
Completion settings for the prompt.
completion: CompletionConfig
Property Value
CompletionConfig
default_backends
Warning
This API is now deprecated.
Use completion.model
instead.
Optional. Array of backends (models) to use for the prompt.
default_backends?: string[]
Property Value
string[]
Remarks
Passing the name of a model to use here will override the default model used by a planner.
description
Optional. Description of the prompts purpose.
description?: string
Property Value
string
schema
The schema version of the prompt template. Can be '1' or '1.1'.
schema: number
Property Value
number
type
Type of prompt template. Should always be 'completion'.
type: "completion"
Property Value
"completion"