[codex] 数据集绑定向量模型配置#141
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
dataset_parse_config中新增sparse_embedding_config_id/dense_embedding_config_id,分别绑定稀疏、稠密向量模型配置。DatasetEmbeddingConfigValidator,校验绑定配置属于当前用户、启用中且能力匹配。scripts/db/add_dataset_embedding_config_bindings.sql,同步 H2 schema、API/MySQL/测试文档和相关测试。影响
验证
mvn -am -pl link-service,link-api -DfailIfNoTests=false -Dtest=DatasetServiceImplTest,DatasetParseConfigServiceImplTest,RecallSessionServiceImplTest,DatasetControllerTest,DatasetParseConfigControllerTest,RecallSessionControllerTest,SoftDeleteReuseIntegrationTest testpython3 scripts/check_docs_sync.py --workingpython3 scripts/check_ai_links.py备注
全量
mvn test -DfailIfNoTests=false当前仍有既有AdminControllerProviderTest403 失败,和本次数据集向量模型绑定改动无直接交集。