Skip to main content

Function: updatePrompt()

Defined in: 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.