Skip to content

Add ComplexDocumentSource for sectioned documents#45

Open
y-71 wants to merge 1 commit into39-major-refactor-to-orgnaize-and-split-into-packagesfrom
complex-document-source
Open

Add ComplexDocumentSource for sectioned documents#45
y-71 wants to merge 1 commit into39-major-refactor-to-orgnaize-and-split-into-packagesfrom
complex-document-source

Conversation

@y-71
Copy link
Collaborator

@y-71 y-71 commented Mar 1, 2026

Closes #43

Summary

  • Adds DocumentSection interface and ComplexDocumentSource class for documents split into a section tree
  • Each section carries its own heading, content, and metadata for independent scoring
  • Wires SourceKind.ComplexDocument into base enum and barrel exports

Test plan

  • cd core && bun run typecheck — clean

Add sectioned document source for structured documents with per-section
metadata. Update source barrel exports and docs.
@y-71 y-71 requested a review from feuersteiner March 1, 2026 00:14
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.

1 participant