@grafctory/llms
    Preparing search index...

    Function createQuota

    • Opens the rate quota of a model.

      Meant for model connectors: a connector opens one quota per model and submits every request to that model through it, so that concurrent jobs drawing on the same model are paced together rather than each at a pace of its own.

      Parameters

      • model: string

        The id of the model the quota paces requests to

      Returns Quota

      A new quota for model, pacing only the requests submitted through it