On this page
Embeddings#
Embeddings make paraphrased ideas searchable. Ormah's default encoder and Whisper reranker run locally, while configurable providers can place embedding or generation work elsewhere.
Default models#
| Purpose | Default | Role |
|---|---|---|
| Embeddings | BAAI/bge-base-en-v1.5, dimension 768 |
Encode memory/query text for semantic retrieval |
| Whisper reranker | Xenova/ms-marco-MiniLM-L-6-v2 |
Score query–candidate relevance after retrieval |
| Extraction LLM | Provider none |
Disabled until explicitly configured |
The generation model field's default string does not mean that model is running or receiving text. Provider activation is separate. Configuration.
Providers and caching#
embedding_provider supports local, ollama and litellm. The embedding factory wraps the selected provider with caching. Local weights are provisioned into Ormah's model cache; remote choices send text to their selected endpoint/provider.
Changing an embedding model or dimension changes the vector representation. Do not mix incompatible vectors and expect equivalent retrieval. Back up source and follow a controlled rebuild/restart appropriate to the new model; allow indexing to complete before comparing results.
Reranker readiness#
Startup attempts model provisioning. If the reranker cannot download or initialize, Ormah can remain available with a stricter raw-cosine Whisper gate. The next server start retries provisioning. A running HTTP service doesn't guarantee the reranker is ready.
The cross-encoder signal is distinct from rank-relative hybrid scores. Reviewed code rescales it into an absolute gating signal, then combines ranking/affinity information for selection. Read Whisper for gate semantics; do not interpret the values as calibrated accuracy percentages.
Text limits#
Embedding and reranker input limits bound the content each model sees (embedding_max_content_chars, whisper_reranker_max_doc_chars). Whisper's output-preview cap is separate. The source node remains readable through recall_node; changing a preview limit does not expand a model's context window.
Multilingual and temporal behavior#
The default embedding model is English-oriented. Newer runtimes add selectable temporal locale packs, with PT-BR opt-in alongside a suitable multilingual embedding configuration. Adding a locale does not translate the corpus or certify equal retrieval across languages.
See Search and ranking for time filters, and Privacy and providers before enabling remote processing. No throughput, latency or numerical retrieval-quality guarantee is implied by these model defaults.