Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt

Use this file to discover all available pages before exploring further.


Function: createPrompt()

function createPrompt(options: CreatePromptOptions): Promise<PromptTemplate>;
Defined in: src/utils/prompt-templates.ts Creates a prompt template while guaranteeing a unique name.

Parameters

options

CreatePromptOptions Creation request.

Returns

Promise<PromptTemplate> A promise that resolves to the created template summary.