【新增】AI:增加 ollama 模型的接入

This commit is contained in:
YunaiV
2024-05-17 22:16:57 +08:00
parent 7fca38ce1e
commit 9de9e938bf
5 changed files with 38 additions and 19 deletions

View File

@ -142,6 +142,14 @@ spring:
listener:
missing-topics-fatal: false # 消费监听接口监听的主题不存在时,默认会报错。所以通过设置为 false ,解决报错
--- #################### AI 相关配置 ####################
spring.ai:
ollama:
base-url: http://127.0.0.1:11434
chat:
model: llama3
--- #################### 芋道相关配置 ####################
yudao: