Skip to content

Conversation

@viraj-mahida
Copy link

Summary

Implement semantic_chunk module to intelligently split large span trees
while preserving parent-child relationships and execution order.

Type of Change

  • feat - A new feature

Details

  • Hierarchical splitting that keeps span structure intact
  • Order-preserving chunking for children and logs
  • Parent context injection when spans are separated

Example logs to help understand semantic chunking:
Before chunking: /rest/logs/semantic_chunking/before.log
After chunking: /rest/logs/semantic_chunking/after.log
More Examples: rest/logs/semantic_chunking/semantic_chunk.log

Screenshots / Recordings (if applicable)

NA

Checklist

  • I have read the CONTRIBUTING.md
  • I have added/updated tests where applicable
  • I have added screenshots or recordings for UI changes (if applicable)
  • I have updated documentation where necessary

resolves #79 @zechengz @XinweiHe

viraj-mahida and others added 10 commits October 8, 2025 10:50
Implement semantic_chunk module to intelligently split large span trees
while preserving parent-child relationships and execution order.

Features:
- Hierarchical splitting that keeps span structure intact
- Order-preserving chunking for children and logs
- Parent context injection when spans are separated
@viraj-mahida viraj-mahida requested a review from a team as a code owner October 19, 2025 06:42
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.

[Enhancement][Agent] Better chunking for algorithm for demo

1 participant