ISPO SDK
    Preparing search index...

    Interface AiRequest

    Markdown

    The task-oriented request authored by a project.

    interface AiRequest {
        maxOutputTokens?: number;
        messages: { content: string; role: "system" | "user" | "assistant" }[];
        sampling?: { seed?: number; temperature?: number; topP?: number };
        signal?: AbortSignal;
    }

    Hierarchy

    Index
    maxOutputTokens?: number = ...
    messages: { content: string; role: "system" | "user" | "assistant" }[] = ...
    sampling?: { seed?: number; temperature?: number; topP?: number } = ...
    signal?: AbortSignal

    Local SDK-only cancellation. It is never serialized onto the project wire.