Skip to content

Wire provenanceEntries through extraction and revision#51

Closed
LordKay-sudo wants to merge 1 commit into
embabel:mainfrom
LordKay-sudo:feature/provenance-extraction-wiring
Closed

Wire provenanceEntries through extraction and revision#51
LordKay-sudo wants to merge 1 commit into
embabel:mainfrom
LordKay-sudo:feature/provenance-extraction-wiring

Conversation

@LordKay-sudo

Copy link
Copy Markdown
Contributor

Summary

  • Populate provenanceEntries during chunk extraction via ChunkProvenanceFactory (locator from context default, chunk metadata, or parsed chunk id)
  • Accumulate provenance on merge/reinforce via mergeProvenanceEntries in LlmPropositionReviser
  • Expose provenance on PropositionDto for REST consumers

Fixes #32

Test plan

  • ChunkProvenanceFactoryTest and ProvenanceMergeTest
  • PropositionPipelineTest\
  • PropositionReviserTest\
  • Full mvn test -pl dice

)

Signed-off-by: LordKay-sudo <lkandiro@gmail.com>
@LordKay-sudo

Copy link
Copy Markdown
Contributor Author

Closing this since jimador already wired it up on #49. processChunk stamps chunkId/contentHash, reviser unions on merge/reinforce, PropositionDto exposes it. No point keeping two PRs for the same fix.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Populate provenanceEntries during proposition extraction and revision

1 participant