diff --git a/fast_api.py b/fast_api.py index fa1fa05..d0949e1 100644 --- a/fast_api.py +++ b/fast_api.py @@ -147,7 +147,7 @@ def match_question(request: QuestionRequest): logger.error(f"Error matching question: {e}") return QuestionResponse(code=500, msg="success", data=[]) -@app.post("/extractInformation/") +@app.post("/extractInformation") async def extract_information(input_data: InputText): """提取信息的端点""" try: