Skip to content

Factor Query enrichment chunking into a single helper#52

Merged
ubyndr merged 1 commit into
mainfrom
refactor-enrichment-chunks
Dec 2, 2025
Merged

Factor Query enrichment chunking into a single helper#52
ubyndr merged 1 commit into
mainfrom
refactor-enrichment-chunks

Conversation

@ubyndr

@ubyndr ubyndr commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator
  • Added _batched_enrichment_results so all enrichment-style methods (minimal_slim_enrichment, full_slim_enrichment, contextual_slim_enrichment, ancestor_enrichment, and the graph mirroring) share the same chunk/query loop. Each caller now just provides a lambda to build its SPARQL string.
  • This removes duplicated code, keeps chunk sizes consistent, and gives us a single place to adjust batching behavior later.

@ubyndr ubyndr merged commit 3df8f86 into main Dec 2, 2025
2 checks passed
@ubyndr ubyndr deleted the refactor-enrichment-chunks branch December 2, 2025 12:11
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