PromptTemplate interface

Prompt template cached by the prompt manager.

Properties

actions

Optional list of actions the model may generate JSON inputs for.

augmentation

Optional augmentation for the prompt template.

config

Configuration settings for the prompt template.

name

Name of the prompt template.

prompt

Text of the prompt template.

Property Details

actions

Optional list of actions the model may generate JSON inputs for.

actions?: ChatCompletionAction[]

Property Value

augmentation

Optional augmentation for the prompt template.

augmentation?: Augmentation<any>

Property Value

config

Configuration settings for the prompt template.

config: PromptTemplateConfig

Property Value

name

Name of the prompt template.

name: string

Property Value

string

prompt

Text of the prompt template.

prompt: PromptSection

Property Value