'commit'
This commit is contained in:
@@ -14,7 +14,7 @@ from Config import Config
|
|||||||
from ElasticSearch.Utils.EsSearchUtil import EsSearchUtil
|
from ElasticSearch.Utils.EsSearchUtil import EsSearchUtil
|
||||||
|
|
||||||
# 创建路由路由器
|
# 创建路由路由器
|
||||||
router = APIRouter(prefix="/qa", tags=["答疑"])
|
router = APIRouter(prefix="/api/qa", tags=["答疑"])
|
||||||
|
|
||||||
# 配置日志
|
# 配置日志
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
@@ -10,8 +10,8 @@ logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# 服务器地址
|
# 服务器地址
|
||||||
BASE_URL = "http://localhost:8100"
|
BASE_URL = "http://10.10.21.20:8200"
|
||||||
CHAT_ENDPOINT = f"{BASE_URL}/qa/chat"
|
CHAT_ENDPOINT = f"{BASE_URL}/api/qa/chat"
|
||||||
|
|
||||||
# 用户ID(固定一个以便模拟多轮对话)
|
# 用户ID(固定一个以便模拟多轮对话)
|
||||||
USER_ID = "test_user_123"
|
USER_ID = "test_user_123"
|
||||||
|
Reference in New Issue
Block a user