fix: embedding 与 model_name 类型检查
This commit is contained in:
@@ -48,4 +48,4 @@ def acge_embedding(text: list[str]) -> list[list[float]]:
|
||||
norm="l2",
|
||||
axis=1,
|
||||
)
|
||||
return vector
|
||||
return vector.tolist()
|
||||
|
||||
Reference in New Issue
Block a user