mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-16 05:13:41 +00:00
refactor(knowledge): 标记向量存储服务为首选实现
- 添加 @Primary 注解以指定为主要 Bean 实现 - 确保在多个实现存在时优先使用该服务
This commit is contained in:
@@ -19,6 +19,7 @@ import java.util.stream.Collectors;
|
|||||||
* @author ageer
|
* @author ageer
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
|
@Primary
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class VectorStoreServiceImpl implements VectorStoreService {
|
public class VectorStoreServiceImpl implements VectorStoreService {
|
||||||
|
|||||||
Reference in New Issue
Block a user