Skip to content

Ingestion: versioned extraction policy profiles for add_event #42

@aurexav

Description

@aurexav

Summary

Introduce versioned ingestion policy profiles for add_event so extraction behavior is configurable, testable, and rollback-safe.

Why

ELF's deterministic boundary is a core strength. We still need controlled flexibility for extraction prompt/rules without ad-hoc edits.

Scope

  • Define ingestion_profile object and versioning model.
  • Add profile selection to POST /v2/events/ingest (explicit or default profile).
  • Profile fields include:
    • extraction prompt template id
    • optional few-shot references
    • schema version
    • confidence gates and fallback strategy
  • Persist profile id/version with each write for audit and replay.

Acceptance Criteria

  • Same input + same profile version yields reproducible extraction behavior.
  • Profile change does not affect historical writes retroactively.
  • API can report which profile version produced each note.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions