Skip to main content

Function: updatePrompt()

function updatePrompt(options: UpdatePromptOptions): Promise<PromptTemplate>;
Defined in: src/utils/prompt-templates.ts Updates an existing prompt template name.

Parameters

options

UpdatePromptOptions Update options containing the template identifier.

Returns

Promise<PromptTemplate> A promise that resolves to the updated template metadata.