Embedding Models
Embedding Models are the models TAO uses to turn text into numbers so it can search by meaning, for memory, knowledge bases and document search. This page lets administrators register, test and choose the default one.
Open the page
Go to Administration → Embedding Models (/admin/embedding-models). It is titled Embedding Models: "Manage local and external embedding backends for RAG and semantic search". You need the apex.admin.embedding_models permission. The page has no tabs or filters, only a grid of cards and a Register Model button.
Empty: "No embedding models / Register a model to enable embeddings across the platform."
Each model card
- The model name, with a teal star if it is the default.
- A blue LLM pull badge for models that come from the LLM Service.
- The model ID, a provider badge (local, openai, cohere, custom or ollama), and LOCAL · FREE or REQUIRES API KEY.
- inactive when switched off, then the vector size and maximum length (for example "384d · 512 tok max") and a description.
| Button | What it does |
|---|---|
| Set default | Makes it the default (hidden on the current default) |
| Test | Opens a box pre-filled with "The quick brown fox jumps over the lazy dog". Click Test ("Testing…") to see "(size)d · (time)ms". |
| Trash icon | Removes the model at once with no confirmation ("Model removed"). Hidden on the default. |
Register a model
Click Register Model
The Register Embedding Model drawer opens.
Fill in the details
Name, Model ID (for example
all-MiniLM-L6-v2) and Provider: local (sentence-transformers), openai, cohere or custom (OpenAI-compatible endpoint).Add connection details
For custom, enter the Endpoint URL (it "Must expose an OpenAI-compatible /v1/embeddings path"). For any provider other than local, enter a Credential Key Name (for example
openai_api_key). The hint says "Vault key name — never paste a raw API key here".Set the sizes
Dimensions (default 384) must match what the model really returns. Max Tokens (default 512) and a Description.
Register
Click Register ("Registering…"). It stays disabled until name and model ID (and the URL for custom) are filled. Message: "Model registered".
For custom models an amber note says to use Test after registering to check the vector length matches Dimensions. A mismatch is rejected: "Dimension mismatch: model returned N-dim vector but is configured as M-dim. Update the 'dimensions' field to match before activating this model."
Change the default
Click Set default on a card. If the new model has a different vector size, TAO warns Dimension change requires re-embedding: the current model produces N-dimension vectors, and switching "will make existing memory collections incompatible".
- All Cortex memory collections must be recreated.
- Existing memories will not be searchable until re-embedded.
- This action does NOT automatically wipe or migrate data.
Click I understand — switch model only when you have a plan, or Cancel. Message: "Default model updated". Changing the default only changes a flag; it does not re-embed anything.
How the providers work
Local models run on the TAO server using sentence-transformers and are loaded the first time they are used (a failure shows as a 503 error). OpenAI and Cohere models call those companies' services. Custom models call your own endpoint.