Skip to content

fix(rag): align relationship extractor threshold to chunk count (#2052)#2144

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-2052
Mar 23, 2026
Merged

fix(rag): align relationship extractor threshold to chunk count (#2052)#2144
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-2052

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 23, 2026

Summary

  • RelationshipExtractor._select_mode() now uses len(chunks) (chunk count) instead of sum(len(c.content)) (total chars)
  • Matches EntityExtractor._select_mode() so both extractors use the same mode for the same input

Closes #2052

@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

@mrveiss mrveiss merged commit 8150c66 into Dev_new_gui Mar 23, 2026
2 of 3 checks passed
@mrveiss mrveiss deleted the fix/issue-2052 branch March 23, 2026 20:57
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