output
    Preparing search index...

    Type Alias GenerateTextParameters<Tools, OutputSpec>

    GenerateTextParameters: {
        maxSteps?: number;
        prompt: string;
        promptDir?: string;
        skills?: SkillsArg<Record<string, string | number | boolean> | undefined>;
        variables?: Record<string, string | number | boolean>;
    } & GenerateTextAiSdkOptions<Tools, OutputSpec>

    Parameters accepted by generateText.

    Type Parameters

    • Tools extends ToolSet = ToolSet
    • OutputSpec extends AnyAiOutput = AnyAiOutput

    Type Declaration

    • OptionalmaxSteps?: number

      Used to create a default stepCountIs(maxSteps) when tools are present and stopWhen is omitted

    • prompt: string

      Prompt file name

    • OptionalpromptDir?: string

      Override the stack-resolved prompt directory

    • Optionalskills?: SkillsArg<Record<string, string | number | boolean> | undefined>

      Skill packages to provide to the LLM through the load_skill tool

    • Optionalvariables?: Record<string, string | number | boolean>

      Variables to interpolate into the prompt file