Skip to content

Add ChoiceByTypeDocumentLoader for type-based document loading - #304

Open
anatoly-scherbakov wants to merge 7 commits into
choice-by-scheme-document-loaderfrom
choice-by-type-document-loader
Open

Add ChoiceByTypeDocumentLoader for type-based document loading#304
anatoly-scherbakov wants to merge 7 commits into
choice-by-scheme-document-loaderfrom
choice-by-type-document-loader

Conversation

@anatoly-scherbakov

@anatoly-scherbakov anatoly-scherbakov commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add ChoiceByTypeDocumentLoader to dispatch by Python input type (pathlib.Path vs URL str).
  • Document and export the loader; compose with ChoiceBySchemeDocumentLoader for URL schemes.

Stack

master#301 File → #302 Scheme → #304 ByType (this PR) → #303 Sqlite lazy-init → #305 CLI.

Test plan

  • pytest tests/test_choice_by_type_document_loader.py tests/test_choice_by_scheme_document_loader.py
  • CI green

@github-actions

Copy link
Copy Markdown

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