22 lines
434 B
Java
22 lines
434 B
Java
package com.klp.common.config;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Data
|
|
@Component
|
|
@ConfigurationProperties(prefix = "sales.script.ai")
|
|
public class DeepseekConfig {
|
|
|
|
private String apiKey;
|
|
|
|
private String baseUrl;
|
|
|
|
private String modelName;
|
|
|
|
private Integer maxRetries;
|
|
|
|
private Double temperature;
|
|
}
|