@kortix/llm-catalog 0.9.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # @kortix/llm-catalog
2
+
3
+ The Kortix LLM model catalog — the set of models the Kortix gateway supports,
4
+ the managed-model set and defaults, and the auto-model picker. The catalog data
5
+ (`catalog.generated.json`) is generated from [models.dev](https://models.dev) and
6
+ consumed across the Kortix platform (gateway, API, web) and by
7
+ [`@kortix/sdk`](https://www.npmjs.com/package/@kortix/sdk).
8
+
9
+ It ships to npm in lockstep with the platform release version, so a given
10
+ `@kortix/sdk@x.y.z` always resolves `@kortix/llm-catalog@x.y.z`.
11
+
12
+ ## Usage
13
+
14
+ ```ts
15
+ import {
16
+ CATALOG,
17
+ MANAGED_MODELS,
18
+ AUTO_MODEL_ID,
19
+ DEFAULT_MANAGED_MODEL_IDS,
20
+ MANAGED_FLAGSHIP_MODEL_ID,
21
+ getManagedModel,
22
+ isManagedModelId,
23
+ pickAutoModel,
24
+ } from '@kortix/llm-catalog';
25
+ ```
26
+
27
+ - `CATALOG` — the full generated model catalog (providers → models).
28
+ - `MANAGED_MODELS` / `getManagedModel` / `isManagedModelId` — the managed model set.
29
+ - `AUTO_MODEL_ID`, `DEFAULT_MANAGED_MODEL_IDS`, `MANAGED_FLAGSHIP_MODEL_ID` — defaults.
30
+ - `pickAutoModel(...)` — the "auto" model resolution helper.
31
+
32
+ ## License
33
+
34
+ Elastic-2.0.