fix: update check_embedding failed info
This commit is contained in:
parent
3fcf2ee54c
commit
ccb4535d44
1 changed files with 1 additions and 1 deletions
|
|
@ -918,6 +918,6 @@ def check_embedding():
|
|||
}
|
||||
if summary["avg_cos_sim"] > 0.9:
|
||||
return get_json_result(data={"summary": summary, "results": results})
|
||||
return get_json_result(code=RetCode.NOT_EFFECTIVE, message="failed", data={"summary": summary, "results": results})
|
||||
return get_json_result(code=RetCode.NOT_EFFECTIVE, message="Embedding model switch failed: the average similarity between old and new vectors is below 0.9, indicating incompatible vector spaces.", data={"summary": summary, "results": results})
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue