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.
DIP/docs/architecture/EMBEDDING_POLICY_PATCH_K1.md

31 lines
825 B
Markdown

# Embedding policy Patch K1
Patch K1 introduces the configuration and resolver layer for policy-based document embedding selection.
## Added
- `EmbeddingPolicy`
- `EmbeddingProfile`
- `EmbeddingPolicyCondition`
- `EmbeddingPolicyUse`
- `EmbeddingPolicyRule`
- `EmbeddingPolicyProperties`
- `EmbeddingProfileProperties`
- `EmbeddingPolicyResolver`
- `DefaultEmbeddingPolicyResolver`
- `EmbeddingProfileResolver`
- `DefaultEmbeddingProfileResolver`
## Example config
See `application-new-example-embedding-policy.yml`.
## What K1 does not change
- no runtime import/orchestrator wiring yet
- no `SourceDescriptor` schema change yet
- no job persistence/audit changes yet
## Intended follow-up
K2 should wire:
- `GenericDocumentImportService`
- `RepresentationEmbeddingOrchestrator`
to use the resolved policy and profile.