You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
920 B
Markdown
27 lines
920 B
Markdown
# Embedding policy Patch K2
|
|
|
|
Patch K2 wires the policy/profile layer into the actual NEW import runtime.
|
|
|
|
## What it changes
|
|
- `GenericDocumentImportService`
|
|
- resolves `EmbeddingPolicy` per imported document
|
|
- resolves `EmbeddingProfile`
|
|
- ensures the selected embedding model is registered
|
|
- queues embeddings only for representation drafts allowed by the resolved profile
|
|
- `RepresentationEmbeddingOrchestrator`
|
|
- adds a convenience overload for `(documentId, modelKey, profile)`
|
|
- `EmbeddingJobService`
|
|
- adds a profile-aware enqueue overload
|
|
- `DefaultEmbeddingSelectionPolicy`
|
|
- adds profile-aware representation filtering
|
|
- `DefaultEmbeddingPolicyResolver`
|
|
- corrected for the current `SourceDescriptor.attributes()` shape
|
|
|
|
## Runtime flow after K2
|
|
document imported
|
|
-> representations built
|
|
-> policy resolved
|
|
-> profile resolved
|
|
-> model ensured
|
|
-> matching representations queued for embedding
|