Browse Source

add:大模型,参数配置,增加模糊查询

zhongwei
luyie 3 months ago
parent
commit
3b1aac4f84
  1. 1
      hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/maintenance/controller/VectorParamController.java
  2. 3
      hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/maintenance/entity/VectorParamEntity.java

1
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/maintenance/controller/VectorParamController.java

@ -97,6 +97,7 @@ public class VectorParamController {
@GetMapping("/getUrlResponseKeyList")
@ApiOperation(value = "获取url返回的key列表")
@ApiOperationSupport(order = 9)
public R<List<String>> getUrlResponseKeyList(@RequestParam String url,
@RequestHeader(name = "Blade-Auth", value = "Blade-Auth", required = false) String bladeToken,
@RequestHeader(name = "Hzinfo-Auth", value = "Hzinfo-Auth", required = false) String hzinfoToken) {

3
hzims-service/hzims-big-model/src/main/java/com/hnac/hzims/bigmodel/maintenance/entity/VectorParamEntity.java

@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.core.mp.support.QueryField;
import org.springblade.core.mp.support.SqlCondition;
import org.springblade.core.tenant.mp.TenantEntity;
import java.io.Serializable;
@ -21,6 +23,7 @@ public class VectorParamEntity extends TenantEntity implements Serializable {
@ApiModelProperty("参数名称")
@TableField("NAME")
@QueryField(condition = SqlCondition.LIKE)
private String name;
@ApiModelProperty("url")

Loading…
Cancel
Save