@grafctory/llms
    Preparing search index...

    Module @grafctory/llms - v0.9.0

    @grafctory/llms

    npm Grafctory

    AI tasks and shared services for @grafctory/llms.

    Provides the building blocks shared by AI jobs and the model connectors serving them, from embedding vectors that work with any model provider to model calls kept within rate quotas and traced to the source of their cost.

    Jobs using them are set up and run under the @grafctory/gear job executor. This package contributes building blocks for those jobs, not an execution runtime of its own.

    Installation

    npm install @grafctory/gear  # the job executor
    npm install @grafctory/llms # this package
    Important

    Node.js 22 or later is required.

    Warning

    TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json. The legacy "node" resolver is not supported.

    Usage

    Module Description
    @grafctory/llms/vectors Embedding vectors
    @grafctory/llms/quotas Model rate quotas
    @grafctory/llms/usage Model usage tracing

    Support

    • open an issue to report a problem or to suggest a new feature
    • start a discussion to ask a how-to question or to share an idea

    License

    This project is licensed under the Apache 2.0 License – see LICENSE file for details.

    Grafctory™ is a trademark of Metreeca srl.

    vectors

    Embedding vectors.

    quotas

    Model rate quotas.

    usage

    Model usage tracing.