You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
455 B
21 lines
455 B
1 year ago
|
package cn.teammodel.ai;
|
||
|
|
||
|
import lombok.Data;
|
||
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||
|
import org.springframework.context.annotation.Configuration;
|
||
|
|
||
|
/**
|
||
|
* @author winter
|
||
|
* @create 2023-12-15 14:29
|
||
|
*/
|
||
|
|
||
|
@Data
|
||
|
@Configuration
|
||
|
@ConfigurationProperties(prefix = "spark.gpt")
|
||
|
public class SparkGptProperties {
|
||
|
private String endpoint;
|
||
|
private String appId;
|
||
|
private String apiKey;
|
||
|
private String apiSecret;
|
||
|
}
|