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

    area:apiHTTP API service and request/response contracts.area:serviceRetrieval logic, ranking, and request orchestration.kind:featNew capability or product behavior that is not primarily a refactor or cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions