Files
ModelForge/docs/architecture/RETRIEVAL_AWARE_EMBEDDINGS.md
T

12 lines
635 B
Markdown

# Retrieval-aware embeddings
Query/document intent is an explicit `input_type` on the generic `rag.embedding@1` request. Concrete
instructions remain in the immutable RuntimeProfile; clients never receive model paths or prompt
syntax. Qwen3-Embedding-0.6B uses the exact-revision upstream query instruction and an empty document
prefix. The instruction source and revision are part of EmbeddingSpace identity.
Changing instruction, pooling, normalization, dimension or another behavior-affecting setting creates
a new RuntimeProfile and EmbeddingSpace and requires a separate reindex. The M6 raw profile and space
remain immutable.