Docs
Sign in

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.

Screenshot to add: The Embedding Models page with the model cards and the Register Model button.

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.
ButtonWhat it does
Set defaultMakes it the default (hidden on the current default)
TestOpens a box pre-filled with "The quick brown fox jumps over the lazy dog". Click Test ("Testing…") to see "(size)d · (time)ms".
Trash iconRemoves the model at once with no confirmation ("Model removed"). Hidden on the default.

Register a model

  1. Click Register Model

    The Register Embedding Model drawer opens.

  2. 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).

  3. 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".

  4. Set the sizes

    Dimensions (default 384) must match what the model really returns. Max Tokens (default 512) and a Description.

  5. 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.

Known gaps