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.
npm install @grafctory/gear # the job executor
npm install @grafctory/llms # this package
Node.js 22 or later is required.
TypeScript consumers must use "moduleResolution": "nodenext"/"node16"/"bundler" in tsconfig.json.
The legacy "node" resolver is not supported.
| Module | Description |
|---|---|
| @grafctory/llms/vectors | Embedding vectors |
| @grafctory/llms/quotas | Model rate quotas |
| @grafctory/llms/usage | Model usage tracing |
This project is licensed under the Apache 2.0 License – see LICENSE file for details.
Grafctory™ is a trademark of Metreeca srl.
Embedding vectors.