添加rag置信度判断
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m31s

This commit is contained in:
2026-05-06 01:15:52 +08:00
parent 3ae9daa01a
commit 1260bef5cb
35 changed files with 335 additions and 221 deletions

View File

@@ -9,7 +9,7 @@ from typing import Optional, List
from mem0 import AsyncMemory
from ..config import (
from backend.app.config import (
LLM_API_KEY,
ZHIPUAI_API_KEY,
VLLM_BASE_URL,
@@ -21,7 +21,7 @@ from ..config import (
ZHIPU_EMBEDDING_MODEL,
ZHIPU_API_BASE,
)
from ..logger import info, warning, error
from backend.app.logger import info, warning, error
from ..model_services import get_embedding_service
from ..model_services.chat_services import get_chat_service