Models and gateways#
Embeddings and inference calls go through two registries that each deployment names. The toolkit has no profiles by default, because a profile’s adapter can come from a pack.
File |
Registry |
Selected by |
|---|---|---|
|
Embedding profiles |
|
|
Model gateways |
|
Both are listed under providers in the parts list, and the Compose templates
set the variables to /app/configs/<file>.
Embedding profiles#
A profile pins the model and the space it produces.
Field |
Meaning |
|---|---|
|
The identifier users select and a label |
|
The exact identifier sent to the provider |
|
The semantic model; change them when the underlying model changes |
|
The input preparation; a change makes a new space |
|
Vector size and accepted inputs, such as |
|
The registered codec: |
|
The suggested gateway |
|
Optional environment variable that holds the gateway credential |
|
Optional request batch limit |
Changing a provider URL or alias does not change the embedding space; changing the model or preprocessing revision does.
Gateways#
A gateway has an id, base_url, protocol (openai-compatible or triton-v2),
authentication (bearer or none), an optional models_path, and capabilities. The
server never falls back to another gateway or substitutes a model.
Users select a profile and a private connection they own. There is no environment-key
fallback: a profile may omit a connection only when its gateway declares
authentication: none.
Packs#
Pack |
Adds |
|---|---|
Clay |
The |
Nemotron |
The |
A part registers an adapter with registry.add_embedding_adapter(name, factory); only listed
parts contribute adapters.
Local gateway#
deploy/gateway-poc.yml is an opt-in overlay that runs a loopback gateway, and
deploy/embedding-fixture.yml adds a synthetic embedding fixture (profile local-fixture,
no model, demo only). Never combine them with the production overlay.