Skip to content

[geaflow/ai-memory] Define provenance model for facts, chunks, and evidence #842

Description

@kitalkuyo-gita

Priority: P0
Difficulty: Starter

Context: Citation-aware answers and deletion propagation require source lineage. Existing subgraph verbalization does not provide claim-level provenance.

Scope:

  • Add ProvenanceRef and SourceSpan contracts.
  • Link extracted facts to document, chunk, extractor version, and schema version.
  • Add JSON examples.

Constraints:

  • Do not implement answer generation.
  • Do not store full raw private text inside provenance objects.

Acceptance Criteria:

  • Every extracted fact fixture can point back to source document and chunk.
  • Missing provenance fails validation for extracted facts.

Suggested paths:

  • geaflow-ai/src/main/java/org/apache/geaflow/ai/provenance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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