output
    Preparing search index...

    Type Alias Prompt

    Configuration for LLM prompt generation.

    const prompt: Prompt = {
    name: 'summarizePrompt',
    config: {
    provider: 'anthropic',
    model: 'claude-opus-4-1',
    temperature: 0.7,
    maxTokens: 2048
    },
    messages: [...]
    };
    type Prompt = {
        config: {
            aspectRatio?: `${number}:${number}`;
            maxImagesPerCall?: number;
            maxTokens?: number;
            model: string;
            n?: number;
            provider: string;
            providerOptions?: Record<string, unknown>;
            seed?: number;
            size?: `${number}x${number}`;
            skills?: string | string[];
            temperature?: number;
            tools?: Record<string, Record<string, unknown>>;
        };
        instructions?: string
        | null;
        messages: PromptMessage[];
        name: string;
        promptFileDir?: string;
    }
    Index

    Properties

    config: {
        aspectRatio?: `${number}:${number}`;
        maxImagesPerCall?: number;
        maxTokens?: number;
        model: string;
        n?: number;
        provider: string;
        providerOptions?: Record<string, unknown>;
        seed?: number;
        size?: `${number}x${number}`;
        skills?: string | string[];
        temperature?: number;
        tools?: Record<string, Record<string, unknown>>;
    }

    General configuration for the LLM

    Type Declaration

    • OptionalaspectRatio?: `${number}:${number}`

      Image aspect ratio, for example 16:9

    • OptionalmaxImagesPerCall?: number

      Maximum images to request per provider call

    • OptionalmaxTokens?: number

      Maximum number of tokens in the response

    • model: string

      Model name/identifier

    • Optionaln?: number

      Number of images to generate

    • provider: string

      LLM provider (built-in: 'anthropic', 'openai', 'azure', 'vertex', 'bedrock', 'perplexity'; or any registered custom provider)

    • OptionalproviderOptions?: Record<string, unknown>

      Provider-specific options

    • Optionalseed?: number

      Random seed for deterministic image generation when supported

    • Optionalsize?: `${number}x${number}`

      Image size, for example 1024x1024

    • Optionalskills?: string | string[]

      Skill file or directory paths resolved relative to the prompt file

    • Optionaltemperature?: number

      Generation temperature (0-2). Lower = more deterministic

    • Optionaltools?: Record<string, Record<string, unknown>>

      Provider-specific tools with configuration.

      tools:
      googleSearch:
      mode: MODE_DYNAMIC
      dynamicThreshold: 0.8
      tools:
      webSearch:
      searchContextSize: high
      filters:
      allowedDomains: [wikipedia.org]
    instructions?: string | null

    Plain prompt instructions for non-chat prompt files

    messages: PromptMessage[]

    Array of messages in the conversation

    name: string

    Name of the prompt file

    promptFileDir?: string

    Directory containing the resolved prompt file