Skip to main content

Function: getPromptTemplates()

function getPromptTemplates(projectName: string): Promise<PromptTemplate[]>;
Defined in: src/utils/prompt-templates.ts

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.