增加LLM 后端服务API配置信息
This commit is contained in:
parent
c77394fb8f
commit
4cbcacfd1f
@ -0,0 +1,20 @@
|
||||
package cn.iocoder.yudao.module.llm.framework.backend.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.time.Duration;
|
||||
|
||||
@ConfigurationProperties(prefix = "llm.backend")
|
||||
@Validated
|
||||
@Data
|
||||
public class LLMBackendProperties {
|
||||
|
||||
/**
|
||||
* 过期时间
|
||||
*/
|
||||
@NotNull(message = "RAG健康检查API")
|
||||
private Duration ragHealth;
|
||||
}
|
@ -243,6 +243,11 @@ justauth:
|
||||
prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::
|
||||
timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟
|
||||
|
||||
llm:
|
||||
backend:
|
||||
# 健康检查
|
||||
rag_health: http://localhost:8123/health
|
||||
|
||||
--- #################### iot相关配置 TODO 芋艿:再瞅瞅 ####################
|
||||
iot:
|
||||
emq:
|
||||
|
Loading…
x
Reference in New Issue
Block a user