This commit is contained in:
2025-08-19 14:33:03 +08:00
parent aa852ce369
commit 521d5e032b
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ from Config import Config
from ElasticSearch.Utils.EsSearchUtil import EsSearchUtil
# 创建路由路由器
router = APIRouter(prefix="/qa", tags=["答疑"])
router = APIRouter(prefix="/api/qa", tags=["答疑"])
# 配置日志
logger = logging.getLogger(__name__)

View File

@@ -10,8 +10,8 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(
logger = logging.getLogger(__name__)
# 服务器地址
BASE_URL = "http://localhost:8100"
CHAT_ENDPOINT = f"{BASE_URL}/qa/chat"
BASE_URL = "http://10.10.21.20:8200"
CHAT_ENDPOINT = f"{BASE_URL}/api/qa/chat"
# 用户ID固定一个以便模拟多轮对话
USER_ID = "test_user_123"