-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[CLN] Split get orchestrator #4673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
Refactor and Modularize Orchestration Pipeline: Split, Rename, and Decouple Error Types This PR significantly refactors the Chroma orchestration subsystem to modularize and clarify the orchestration pipeline. The previously monolithic 'KnnFilterOrchestrator' is renamed to 'FilterOrchestrator', and new orchestrators are introduced to clarify separation of concerns between filtering, KNN (both HNSW and SPANN), and 'Get' operations. Shared error types like 'KnnError' are split into focused error enums for each orchestrator, improving error clarity, code modularity, and maintainability. The 'GetOrchestrator' logic is simplified by delegating the filtering stage to 'FilterOrchestrator', enabling both orchestration code and test/bench code to use unified, more composable primitives. This involved significant changes to Rust modules, orchestrator interfaces, test/bench wiring, and RPC endpoints. Key Changes: Affected Areas: This summary was automatically generated by @propel-code-bot |
a3bc9e8
to
fd7eb63
Compare
70d88f2
to
c7b932b
Compare
061830b
to
1ba91d7
Compare
c7b932b
to
ddab3ad
Compare
1ba91d7
to
b1b2820
Compare
ddab3ad
to
50dd8cb
Compare
b1b2820
to
2115787
Compare
6cd365b
to
c643f08
Compare
6d93f14
to
64dd8e9
Compare
7189655
to
58cf71a
Compare
64dd8e9
to
1fca7f9
Compare
1fca7f9
to
d4baecd
Compare
d4baecd
to
9af4da8
Compare
Description of changes
Summarize the changes made by this PR.
KnnFilterOrchestrator
toFilterOrchestrator
KnnError
type into error types for each individual orchestratorsGetOrchestrator
to reuse theFilterOrchestrator
Test plan
How are these changes tested?
pytest
for python,yarn test
for js,cargo test
for rustDocumentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs section?