Skip to content

refactor: embedding service uses NodeBehavior for content extraction - #1026

Merged
malibio merged 1 commit into
mainfrom
feature/issue-1018-embedding-refactor
Apr 3, 2026
Merged

malibio merged 1 commit into
mainfrom
feature/issue-1018-embedding-refactor

Conversation

@malibio

@malibio malibio commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Refactors embedding pipeline so NodeBehavior is single source of truth
  • Adds NodeAccessor trait for behavior I/O
  • Adds get_embeddable_content() and get_aggregated_content() to NodeBehavior
  • Removes hardcoded EMBEDDABLE_NODE_TYPES constant
  • 143 Rust tests passing

Closes #1018

…loses #1018)

Refactors embedding pipeline so NodeBehavior is single source of truth
for embedding decisions. Adds NodeAccessor trait, behavior-driven content
extraction, removes EMBEDDABLE_NODE_TYPES constant.

Co-Authored-By: Claude <[email protected]>
@malibio
malibio merged commit 326b11d into main Apr 3, 2026
@malibio
malibio deleted the feature/issue-1018-embedding-refactor branch April 3, 2026 22:54
malibio added a commit that referenced this pull request Jun 22, 2026
…1026)

Refactors embedding pipeline so NodeBehavior is single source of truth
for embedding decisions. Adds NodeAccessor trait, behavior-driven content
extraction, removes EMBEDDABLE_NODE_TYPES constant.

Co-authored-by: Michael Libio <[email protected]>
Co-authored-by: Claude <[email protected]>
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.

Refactor embedding service to use NodeBehavior via NodeService for content extraction

1 participant