package com.aps.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * LLM配置类
 */
@Data
@Component
@ConfigurationProperties(prefix = "llm")
public class LLMConfig {
    
    /**
     * API密钥
     */
    private String apiKey = "";
    
    /**
     * API基础URL
     */
    private String baseUrl = "https://api.deepseek.com/v1";
    
    /**
     * 模型名称
     */
    private String model = "deepseek-chat";
    
    /**
     * 温度参数
     */
    private Double temperature = 0.3;
    
    /**
     * 最大token数
     */
    private Integer maxTokens = 4000;
}
