From 6f0df10fdd0e55e5ed3e31b1720efd25e2bf02fb Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期三, 16 九月 2026 18:51:12 +0800
Subject: [PATCH] fix: 添加条件过滤以确保查询结果中合格数量大于零
---
src/main/resources/application.yml | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index ad3d4bc..9a7a99b 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,19 +1,9 @@
# 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 鏈嶅姟璋冩暣锛�
@@ -28,14 +18,14 @@
api-key: sk-bd235cc13cd74e2388aa8984c84f691f
model-name: "qwen-max"
embedding-model:
- api-key: sk-9748859926b94096b920baaa12c343f5
+ api-key: sk-bd235cc13cd74e2388aa8984c84f691f
model-name: "text-embedding-v3"
chat-model:
- api-key: sk-9748859926b94096b920baaa12c343f5
+ api-key: sk-bd235cc13cd74e2388aa8984c84f691f
model-name: "qwen-max"
open-ai:
chat-model:
- api-key: sk-9748859926b94096b920baaa12c343f5
+ api-key: sk-bd235cc13cd74e2388aa8984c84f691f
base-url: "https://dashscope.aliyuncs.com/compatible-mode/v1"
model-name: "deepseek-v3"
log-requests: true
--
Gitblit v1.9.3