Add File
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package com.agentsflex.spring.boot.llm.spark;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* @author 王帅
|
||||
* @since 2024-04-10
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "agents-flex.llm.spark")
|
||||
public class SparkProperties {
|
||||
|
||||
private String appId;
|
||||
private String apiSecret;
|
||||
private String apiKey ;
|
||||
private String version = "v3.1";
|
||||
|
||||
public String getAppId() {
|
||||
return appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
this.appId = appId;
|
||||
}
|
||||
|
||||
public String getApiSecret() {
|
||||
return apiSecret;
|
||||
}
|
||||
|
||||
public void setApiSecret(String apiSecret) {
|
||||
this.apiSecret = apiSecret;
|
||||
}
|
||||
|
||||
public String getApiKey() {
|
||||
return apiKey;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user