|
|
|
@ -87,7 +87,7 @@ class EmbeddingSearch:
|
|
|
|
|
"status": -2,
|
|
|
|
|
"message": error_msg,
|
|
|
|
|
"error": {
|
|
|
|
|
"code": "page_not_found",
|
|
|
|
|
"code": "page-not-found",
|
|
|
|
|
"title": page_title,
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
@ -115,7 +115,7 @@ class EmbeddingSearch:
|
|
|
|
|
"status": -4,
|
|
|
|
|
"message": error_msg,
|
|
|
|
|
"error": {
|
|
|
|
|
"code": "page_index_running",
|
|
|
|
|
"code": "page-index-running",
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
if transatcion_id:
|
|
|
|
@ -129,7 +129,7 @@ class EmbeddingSearch:
|
|
|
|
|
"status": -1,
|
|
|
|
|
"message": error_msg,
|
|
|
|
|
"error": {
|
|
|
|
|
"code": "internal_server_error",
|
|
|
|
|
"code": "internal-server-error",
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
if transatcion_id:
|
|
|
|
|