Cloudflare - v1.3.0
    Preparing search index...

    Interface AISettings

    Workers AI settings.

    Bayu Dwiyan Satria

    1.0.0

    1.0.0

    interface AISettings {
        binding: string;
        gateway?: string;
        model: string;
    }

    Hierarchy (View Summary)

    Index
    binding: string

    Name of the binding as declared in wrangler.json.

    gateway?: string

    AI Gateway id to route inference through.

    When set, calls pick up the gateway's caching, rate limiting and logging.

    model: string

    Model used when a call does not name one.