(fix)(headless)Fix multi-turn conversation issue, recalling history ChatQuery instead of ChatParse.

This commit is contained in:
jerryjzhang
2024-07-30 21:57:44 +08:00
parent 12a504585f
commit 4a5bb9e457
14 changed files with 71 additions and 168 deletions

View File

@@ -376,7 +376,7 @@ public class SchemaServiceImpl implements SchemaService {
semanticSchemaResp.setModelResps(modelList);
semanticSchemaResp.setModelRelas(modelRelas);
semanticSchemaResp.setModelIds(modelIds);
semanticSchemaResp.setSchemaType(SchemaType.VIEW);
semanticSchemaResp.setSchemaType(SchemaType.DATASET);
} else if (!CollectionUtils.isEmpty(schemaFilterReq.getModelIds())) {
List<ModelSchemaResp> modelSchemaResps = fetchModelSchemaResps(schemaFilterReq.getModelIds());
semanticSchemaResp.setMetrics(modelSchemaResps.stream().map(ModelSchemaResp::getMetrics)