Skip to content

Commit 1df75cd

Browse files
YuZhangLarryclaude
andauthored
feat(ai): enhance RAG with Milvus integration, query rewrite, multi-path retrieval and refactor (#1458)
* refactor(ai): reorganize RAG components with multi-path retrieval and merge - Reorganize RAG components into indexers, retrievers, loaders, mergers, rerankers, and query packages - Add Milvus multi-path retrieval support (Dense, BM25 Sparse, Hybrid) - Add RRF (Reciprocal Rank Fusion) merge layer with deduplication - Add score normalization strategies (MinMax, ZScore, Rank, Softmax, Sigmoid, Log) - Add comprehensive Milvus unit tests and E2E workflow tests - Fix deduplication to handle documents without IDs using content hash - Fix Milvus SDK dependency compatibility with Go 1.25+ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat(ai): enhance RAG with query rewrite, multi-path retrieval and merge - Add query rewrite processor for enhanced query optimization - Implement multi-path retrieval with merge capabilities - Add comprehensive E2E tests for RAG workflows - Enable query processor by default in config - Add RAG test helpers and utilities Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: add AI_CHANGES_SUMMARY.md to gitignore * chore: remove AI_CHANGES_SUMMARY.md --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f8152d5 commit 1df75cd

56 files changed

Lines changed: 11085 additions & 1549 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ vendor/
4747

4848
# dubbo cp cache
4949
app/dubbo-cp/cache
50+
51+
# environment files
52+
.env
53+
.env.local
54+
.env.*.local
55+
AI_CHANGES_SUMMARY.md

0 commit comments

Comments
 (0)