SongGuess
    Preparing search index...
    type AiOptions = {
        extraHeaders?: object;
        gateway?: GatewayOptions;
        prefix?: string;
        queueRequest?: boolean;
        returnRawResponse?: boolean;
        signal?: AbortSignal;
        tags?: string[];
        websocket?: boolean;
    }
    Index

    Properties

    extraHeaders?: object
    gateway?: GatewayOptions
    prefix?: string
    queueRequest?: boolean

    Send requests as an asynchronous batch job, only works for supported models https://developers.cloudflare.com/workers-ai/features/batch-api

    returnRawResponse?: boolean
    signal?: AbortSignal
    tags?: string[]

    Tag your requests to group and view them in Cloudflare dashboard.

    Rules: Tags must only contain letters, numbers, and the symbols: : - . / @ Each tag can have maximum 50 characters. Maximum 5 tags are allowed each request. Duplicate tags will removed.

    websocket?: boolean

    Establish websocket connections, only works for supported models