YuZhangLarry opened a new pull request, #1458:
URL: https://github.com/apache/dubbo-admin/pull/1458
## Summary
Refactored RAG component with enhanced capabilities including Milvus
integration, query rewrite optimization, and multi-path retrieval.
## Key Changes
### RAG Component Refactor
- Modularized RAG architecture with pluggable components
- Separated concerns: Loader, Splitter, Indexer, Retriever, Reranker,
QueryProcessor
- Improved configuration management with schema validation
### Milvus/Zilliz Cloud Support
- Added Milvus as vector store option alongside local SQLite
- Support for dense, sparse, and hybrid search modes
- Configurable collection management and batch operations
### Query Rewrite Enhancement
- Integrated query processor using dashscope/qwen-max model
- Optimizes user queries before retrieval for better accuracy
- Configurable timeout and temperature settings
- Graceful fallback on errors
### Multi-Path Retrieval
- Implemented multi-path retrieval with merge capabilities
- Combines results from multiple retrieval strategies
- Enhanced reranking with Cohere integration
### Testing
- Added comprehensive E2E tests for RAG workflows
- Test utilities for CI/CD pipeline
## Configuration
Query processor is enabled by default in `ai/component/rag/rag.yaml`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]