From 1c8cd78e9edb730764199e0d943c5143fbb5ff17 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 12 六月 2026 15:29:48 +0800
Subject: [PATCH] Merge branch 'dev_New_pro' of http://114.132.189.42:9002/r/product-inventory-management-after into dev_New_pro
---
src/main/resources/application.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 533d7c7..ad3d4bc 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,6 +1,52 @@
# Spring閰嶇疆
spring:
+ jackson:
+ date-format: yyyy-MM-dd HH:mm:ss
+ time-zone: GMT+8
main:
allow-circular-references: true
profiles:
active: dev
+
+# Pinecone 鍚戦噺鏁版嵁搴撻厤缃�
+pinecone:
+ api-key: pcsk_4SJLnh_tNB3wSLJU8tc4E5P28PcXX8eCLdURqZpVhg1FMV8CRYxjneWdzqRdB5Ftqooi9
+ index: xiaozhi-index
+ namespace: knowledge-base
+
+langchain4j:
+ mcp:
+ # MCP 鏈嶅姟绔湴鍧�锛堟牴鎹疄闄呴儴缃茬殑 MCP 鏈嶅姟璋冩暣锛�
+ server-url: http://114.132.189.42:8093/ocr
+ # 璇锋眰瓒呮椂鏃堕棿锛堟绉掞級
+ timeout: 30000
+ # 鍙�夛細MCP 鍗忚鐗堟湰
+ version: 1.0
+ community:
+ dashscope:
+ streaming-chat-model:
+ api-key: sk-bd235cc13cd74e2388aa8984c84f691f
+ model-name: "qwen-max"
+ embedding-model:
+ api-key: sk-9748859926b94096b920baaa12c343f5
+ model-name: "text-embedding-v3"
+ chat-model:
+ api-key: sk-9748859926b94096b920baaa12c343f5
+ model-name: "qwen-max"
+ open-ai:
+ chat-model:
+ api-key: sk-9748859926b94096b920baaa12c343f5
+ base-url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
+ model-name: "deepseek-v3"
+ log-requests: true
+ log-responses: true
+ temperature: 0.9
+
+ ollama:
+ chat-model:
+ base-url: "http://localhost:11434"
+ model-name: "deepseek-r1:1.5b"
+ log-requests: true
+ log-responses: true
+knowledge:
+ one: D:\鏂扮枂澶х綏绱犱紒涓氫骇鍝佷綋绯昏鏄庢枃妗�.md
--
Gitblit v1.9.3