mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-01 08:52:11 +08:00
vector update
This commit is contained in:
@ -599,6 +599,9 @@ public class ChatController {
|
|||||||
schemas.add(data.getTableSchema());
|
schemas.add(data.getTableSchema());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (CollectionUtils.isEmpty(schemas)) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
String res = JSON.toJSONString(schemas);
|
String res = JSON.toJSONString(schemas);
|
||||||
log.info("search vector result:{}", res);
|
log.info("search vector result:{}", res);
|
||||||
return res;
|
return res;
|
||||||
@ -636,6 +639,9 @@ public class ChatController {
|
|||||||
schemas.add(data.getTableSchemaContent());
|
schemas.add(data.getTableSchemaContent());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (CollectionUtils.isEmpty(schemas)) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
String res = JSON.toJSONString(schemas);
|
String res = JSON.toJSONString(schemas);
|
||||||
log.info("search es result:{}", res);
|
log.info("search es result:{}", res);
|
||||||
return res;
|
return res;
|
||||||
|
Reference in New Issue
Block a user