Files
chunking_strategies_evaluation/docs/adr/0021-always-scope-collection-names-by-model.md

15 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Always scope Qdrant collection names by Embedding Model id
Every Model Corpus collection is named `{strategy}__{embedding_model_id}_collection`, including the default cloud model (`text-embedding-3-small`). This supersedes ADR-0018’s exception that left OpenAI on legacy unscoped names (`fixed_size_collection`). Uniform naming makes Admin labeling obvious for both Cloud and Local and avoids a special case that confused operators wiping/rebuilding corpora.
## Considered Options
- **Always include model id** — chosen; clear for cloud and local
- **Keep legacy unscoped names for default cloud only** — ADR-0018; rejected going forward after a from-scratch rebuild
## Consequences
- Process/query create names like `fixed_size__text-embedding-3-small_collection` and `fixed_size__nomic-embed-text-v2-moe_collection`
- Old unscoped collections are not written anymore; Admin still labels them as legacy default-cloud if they remain until deleted
- Operators wiping for a clean slate should delete legacy collections before re-processing