| | |
| | | package com.zy.ai.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | |
| | | private String name; |
| | | |
| | | @TableField("provider_type") |
| | | private String providerType; |
| | | |
| | | @TableField("protocol_type") |
| | | private String protocolType; |
| | | |
| | | @TableField("base_url") |
| | | private String baseUrl; |
| | | |
| | | @TableField("endpoint_path") |
| | | private String endpointPath; |
| | | |
| | | @TableField("api_key") |
| | | private String apiKey; |
| | | |
| | | @TableField("auth_type") |
| | | private String authType; |
| | | |
| | | @TableField("auth_header_name") |
| | | private String authHeaderName; |
| | | |
| | | private String model; |
| | | |
| | | private String capabilities; |
| | | |
| | | @TableField("request_options") |
| | | private String requestOptions; |
| | | |
| | | /** |
| | | * 1 开启深度思考 0 关闭 |
| | |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getProviderType() { |
| | | return providerType; |
| | | } |
| | | |
| | | public void setProviderType(String providerType) { |
| | | this.providerType = providerType; |
| | | } |
| | | |
| | | public String getProtocolType() { |
| | | return protocolType; |
| | | } |
| | | |
| | | public void setProtocolType(String protocolType) { |
| | | this.protocolType = protocolType; |
| | | } |
| | | |
| | | public String getBaseUrl() { |
| | | return baseUrl; |
| | | } |
| | | |
| | | public void setBaseUrl(String baseUrl) { |
| | | this.baseUrl = baseUrl; |
| | | } |
| | | |
| | | public String getEndpointPath() { |
| | | return endpointPath; |
| | | } |
| | | |
| | | public void setEndpointPath(String endpointPath) { |
| | | this.endpointPath = endpointPath; |
| | | } |
| | | |
| | | public String getApiKey() { |
| | |
| | | this.apiKey = apiKey; |
| | | } |
| | | |
| | | public String getAuthType() { |
| | | return authType; |
| | | } |
| | | |
| | | public void setAuthType(String authType) { |
| | | this.authType = authType; |
| | | } |
| | | |
| | | public String getAuthHeaderName() { |
| | | return authHeaderName; |
| | | } |
| | | |
| | | public void setAuthHeaderName(String authHeaderName) { |
| | | this.authHeaderName = authHeaderName; |
| | | } |
| | | |
| | | public String getModel() { |
| | | return model; |
| | | } |
| | |
| | | this.model = model; |
| | | } |
| | | |
| | | public String getCapabilities() { |
| | | return capabilities; |
| | | } |
| | | |
| | | public void setCapabilities(String capabilities) { |
| | | this.capabilities = capabilities; |
| | | } |
| | | |
| | | public String getRequestOptions() { |
| | | return requestOptions; |
| | | } |
| | | |
| | | public void setRequestOptions(String requestOptions) { |
| | | this.requestOptions = requestOptions; |
| | | } |
| | | |
| | | public Short getThinking() { |
| | | return thinking; |
| | | } |