pub type PromptTemplate = Data<StringTemplate>;
Expand description
A prompt template.
A prompt template is a template that can be used to generate a prompt.
Aliased Type§
enum PromptTemplate {
Chat(ChatMessageCollection<StringTemplate>),
Text(StringTemplate),
}
Variants§
Chat(ChatMessageCollection<StringTemplate>)
A collection of chat messages.
Text(StringTemplate)
A text prompt.