@kortix/llm-catalog
v0.12.5
Published
The Kortix LLM model catalog — the models the Kortix gateway supports and the managed-model set and defaults. Generated from models.dev; consumed across the Kortix platform and by the @kortix/sdk.
Readme
@kortix/llm-catalog
The Kortix build-time compatibility catalog — managed-model constants and a
bundled models.dev snapshot used by SDK/web releases and as
the API's last-known fallback. Runtime gateway routing and the live served model
catalog are owned by apps/api/src/llm-gateway; the standalone gateway does not
depend on this package. This package is consumed by the API, web, and
@kortix/sdk.
It ships to npm in lockstep with the platform release version, so a given
@kortix/[email protected] always resolves @kortix/[email protected].
Usage
import {
CATALOG,
MANAGED_MODELS,
DEFAULT_MANAGED_MODEL_IDS,
MANAGED_FLAGSHIP_MODEL_ID,
PLATFORM_DEFAULT_MODEL_ID,
getManagedModel,
isManagedModelId,
} from '@kortix/llm-catalog';CATALOG— bundled provider/model snapshot used until the API refreshes from its configured catalog URL.MANAGED_MODELS/getManagedModel/isManagedModelId— the managed model set.DEFAULT_MANAGED_MODEL_IDS,MANAGED_FLAGSHIP_MODEL_ID— managed-model defaults.PLATFORM_DEFAULT_MODEL_ID— the concrete platform fallback model.
License
Elastic-2.0.
