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: getPrompt()

function getPrompt(options: GetPromptOptions): Promise<PromptTemplateVersion>;
Defined in: src/utils/prompt-templates.ts Retrieves a prompt template version using either an ID or name.

Parameters

options

GetPromptOptions Lookup options.

Returns

Promise<PromptTemplateVersion> A promise that resolves to the requested template version.