mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 11:42:41 +08:00
vector update
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user