refactor(knowledge): 标记向量存储服务为首选实现

- 添加 @Primary 注解以指定为主要 Bean 实现
- 确保在多个实现存在时优先使用该服务
This commit is contained in:
Yzm
2025-10-11 20:09:15 +08:00
parent c995c94fca
commit 77f7ac0af1

View File

@@ -19,6 +19,7 @@ import java.util.stream.Collectors;
* @author ageer
*/
@Service
@Primary
@Slf4j
@RequiredArgsConstructor
public class VectorStoreServiceImpl implements VectorStoreService {