{ "groups": [ { "name": "spring.cloud.ai.openai", "type": "jnpf.config.AiProperties", "sourceType": "jnpf.config.AiAutoConfiguration$AiEnabledConfiguration", "sourceMethod": "getAiProperties()" }, { "name": "spring.cloud.ai.openai.chat", "type": "jnpf.config.AiProperties$ChatOption", "sourceType": "jnpf.config.AiProperties", "sourceMethod": "getChat()" }, { "name": "spring.cloud.ai.openai.proxy", "type": "jnpf.config.AiProperties$Proxy", "sourceType": "jnpf.config.AiProperties", "sourceMethod": "getProxy()" } ], "properties": [ { "name": "spring.cloud.ai.openai.api-host", "type": "java.lang.String", "description": "openai服务器", "sourceType": "jnpf.config.AiProperties" }, { "name": "spring.cloud.ai.openai.api-key", "type": "java.util.List", "description": "openai key", "sourceType": "jnpf.config.AiProperties" }, { "name": "spring.cloud.ai.openai.chat.enable-search", "type": "java.lang.Boolean", "sourceType": "jnpf.config.AiProperties$ChatOption", "defaultValue": true }, { "name": "spring.cloud.ai.openai.chat.max-tokens", "type": "java.lang.Integer", "description": "允许模型生成的最大Token数。", "sourceType": "jnpf.config.AiProperties$ChatOption", "defaultValue": 1500 }, { "name": "spring.cloud.ai.openai.chat.mode", "type": "java.lang.String", "description": "@see AiConstants.Model", "sourceType": "jnpf.config.AiProperties$ChatOption" }, { "name": "spring.cloud.ai.openai.chat.seed", "type": "java.lang.Integer", "description": "设置seed参数会使文本生成过程更具有确定性,通常用于使模型每次运行的结果一致。 在每次模型调用时传入相同的seed值(由您指定),并保持其他参数不变,模型将很可能返回相同的结果。", "sourceType": "jnpf.config.AiProperties$ChatOption", "defaultValue": 1234 }, { "name": "spring.cloud.ai.openai.chat.temperature", "type": "java.lang.Double", "description": "采样温度,用于控制模型生成文本的多样性。 temperature越高,生成的文本更多样,反之,生成的文本更确定。 由于temperature与top_p均可以控制生成文本的多样性,因此建议您只设置其中一个值。", "sourceType": "jnpf.config.AiProperties$ChatOption", "defaultValue": 0.85 }, { "name": "spring.cloud.ai.openai.chat.top-p", "type": "java.lang.Double", "description": "核采样的概率阈值,用于控制模型生成文本的多样性。 top_p越高,生成的文本更多样。反之,生成的文本更确定。 由于temperature与top_p均可以控制生成文本的多样性,因此建议您只设置其中一个值。", "sourceType": "jnpf.config.AiProperties$ChatOption", "defaultValue": 0.8 }, { "name": "spring.cloud.ai.openai.enabled", "type": "java.lang.Boolean", "description": "是否启用", "sourceType": "jnpf.config.AiProperties", "defaultValue": false }, { "name": "spring.cloud.ai.openai.proxy.host", "type": "java.lang.String", "description": "代理域名", "sourceType": "jnpf.config.AiProperties$Proxy" }, { "name": "spring.cloud.ai.openai.proxy.password", "type": "java.lang.String", "description": "代理密码", "sourceType": "jnpf.config.AiProperties$Proxy" }, { "name": "spring.cloud.ai.openai.proxy.port", "type": "java.lang.Integer", "description": "代理端口", "sourceType": "jnpf.config.AiProperties$Proxy" }, { "name": "spring.cloud.ai.openai.proxy.type", "type": "java.net.Proxy$Type", "description": "HTTP, SOCKS", "sourceType": "jnpf.config.AiProperties$Proxy" }, { "name": "spring.cloud.ai.openai.proxy.username", "type": "java.lang.String", "description": "代理用户名", "sourceType": "jnpf.config.AiProperties$Proxy" }, { "name": "spring.cloud.ai.openai.timeout", "type": "java.lang.Long", "description": "超时时间", "sourceType": "jnpf.config.AiProperties", "defaultValue": 30 } ], "hints": [] }