diff --git a/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/spark/SparkProperties.java b/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/spark/SparkProperties.java new file mode 100644 index 0000000..3d6c576 --- /dev/null +++ b/agents-flex-spring-boot-starter/src/main/java/com/agentsflex/spring/boot/llm/spark/SparkProperties.java @@ -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; + } + +}