vector update

This commit is contained in:
robin
2023-10-26 16:00:44 +08:00
parent 0c1da52ba7
commit 94caa874c5

View File

@ -599,6 +599,9 @@ public class ChatController {
schemas.add(data.getTableSchema());
}
}
if (CollectionUtils.isEmpty(schemas)) {
return "";
}
String res = JSON.toJSONString(schemas);
log.info("search vector result:{}", res);
return res;
@ -636,6 +639,9 @@ public class ChatController {
schemas.add(data.getTableSchemaContent());
}
}
if (CollectionUtils.isEmpty(schemas)) {
return "";
}
String res = JSON.toJSONString(schemas);
log.info("search es result:{}", res);
return res;