mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-22 04:27:30 +08:00
网关修改
This commit is contained in:
@ -62,7 +62,7 @@ public interface GatewayClientService {
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@Post("/api/milvus/knowledge/save")
|
||||
@Post("/api/client/milvus/knowledge/save")
|
||||
ActionResult knowledgeVectorSave(KnowledgeRequest request);
|
||||
|
||||
/**
|
||||
@ -71,7 +71,7 @@ public interface GatewayClientService {
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@Post("/api/milvus/schema/save")
|
||||
@Post("/api/client/milvus/schema/save")
|
||||
ActionResult schemaVectorSave(TableSchemaRequest request);
|
||||
|
||||
/**
|
||||
@ -80,7 +80,7 @@ public interface GatewayClientService {
|
||||
* @param searchVectors
|
||||
* @return
|
||||
*/
|
||||
@Get("/api/milvus/knowledge/search")
|
||||
@Get("/api/client/milvus/knowledge/search")
|
||||
DataResult<KnowledgeResponse> knowledgeVectorSearch(KnowledgeRequest searchVectors);
|
||||
|
||||
/**
|
||||
@ -89,6 +89,6 @@ public interface GatewayClientService {
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@Get("/api/milvus/schema/search")
|
||||
@Get("/api/client/milvus/schema/search")
|
||||
DataResult<TableSchemaResponse> schemaVectorSearch(TableSchemaRequest request);
|
||||
}
|
||||
|
@ -18,6 +18,10 @@ public class TableSchemaRequest {
|
||||
|
||||
private String databaseName;
|
||||
|
||||
private String apiKey;
|
||||
|
||||
private String dataSourceSchema;
|
||||
|
||||
private List<java.util.List<BigDecimal>> schemaVector;
|
||||
|
||||
private List<String> schemaList;
|
||||
|
Reference in New Issue
Block a user