Skip to main content

Function: getPromptTemplates()

Defined in:

Parameters

projectName

string Project name whose templates should be fetched.

Returns

Promise<PromptTemplate[]> A promise that resolves to the available prompt templates.

Deprecated

Prefer getPrompts. Lists prompt templates scoped to the provided project name.