Summary
Support loading reusable annotation sets as context entries via LoadContext nodes. This allows annotation templates (e.g., "always treat these regions as PII in this document template") that apply across multiple pipeline runs.
Split from #126 which covers upload-time annotations. This issue depends on context variant type wiring (#129).
Design
- Define an
AnnotationContext context entry type containing Vec<Annotation>
LoadContextOp recognizes annotation context entries and attaches them to the envelope
- During detection, annotation exclusions filter detected entities and annotation inclusions are added as entities
Tasks
🤖 Generated with Claude Code
Summary
Support loading reusable annotation sets as context entries via
LoadContextnodes. This allows annotation templates (e.g., "always treat these regions as PII in this document template") that apply across multiple pipeline runs.Split from #126 which covers upload-time annotations. This issue depends on context variant type wiring (#129).
Design
AnnotationContextcontext entry type containingVec<Annotation>LoadContextOprecognizes annotation context entries and attaches them to the envelopeTasks
AnnotationContextcontext entry typeLoadContextOp🤖 Generated with Claude Code