init ai backend

This commit is contained in:
Chuck1sn
2025-05-20 21:35:45 +08:00
parent f5a57f9d69
commit f103993960
11 changed files with 156 additions and 19 deletions

View File

@@ -0,0 +1,6 @@
deep-seek:
base-url: "https://api.deepseek.com"
api-key: "sk-3633b0cd40884b27aa8402a1c5dc029d"
model-name: "deepseek-chat"
prompt:
system: "你是一个名叫「知路智能体」的企业级AI助手能帮助用户解决各种问题。"

View File

@@ -15,6 +15,8 @@ cors:
allowedHeaders: ${ALLOWED_HEADERS}
allowedExposeHeaders: ${ALLOWED_EXPOSE_HEADERS}
spring:
config:
import: classpath:ai.yml
datasource:
url: jdbc:postgresql://${DATABASE_HOST_PORT}/${DATABASE_DB}
username: ${DATABASE_USER}