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