更新java17,springboot3.3.9,maven3.9.10,
This commit is contained in:
@@ -39,6 +39,18 @@ spring:
|
||||
max-size: 50
|
||||
main:
|
||||
allow-circular-references: true
|
||||
ai:
|
||||
openai:
|
||||
api-key: sk-9b9babcc85414e999faac58411eb40d0 # 设置 DeepSeek API 的访问密钥,永远不要将密钥提交到代码仓库,建议通过环境变量注入。-收费
|
||||
base-url: https://api.deepseek.com # 指定 DeepSeek API 的基础地址,格式与OpenAI相同。
|
||||
chat:
|
||||
options:
|
||||
model: deepseek-chat # 选择要调用的 DeepSeek 模型名称,必须与 DeepSeek 支持的模型列表匹配(如 deepseek-chat、deepseek-coder 等),不同模型可能有不同的计费标准和能力。
|
||||
temperature: 0.7 # temperature 值越高,AI 回答越随机和创意;值越低,回答越确定和保守。
|
||||
# ollama:
|
||||
# base-url: http://localhost:11434
|
||||
# chat:
|
||||
# model: deepseek-r1:8b
|
||||
|
||||
#mybatis
|
||||
mybatis-plus:
|
||||
|
||||
Reference in New Issue
Block a user