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.
920 B
920 B
Embedding policy Patch K2
Patch K2 wires the policy/profile layer into the actual NEW import runtime.
What it changes
GenericDocumentImportService- resolves
EmbeddingPolicyper imported document - resolves
EmbeddingProfile - ensures the selected embedding model is registered
- queues embeddings only for representation drafts allowed by the resolved profile
- resolves
RepresentationEmbeddingOrchestrator- adds a convenience overload for
(documentId, modelKey, profile)
- adds a convenience overload for
EmbeddingJobService- adds a profile-aware enqueue overload
DefaultEmbeddingSelectionPolicy- adds profile-aware representation filtering
DefaultEmbeddingPolicyResolver- corrected for the current
SourceDescriptor.attributes()shape
- corrected for the current
Runtime flow after K2
document imported -> representations built -> policy resolved -> profile resolved -> model ensured -> matching representations queued for embedding