Image vector embedding
This commit is contained in:
@@ -154,7 +154,8 @@ def _slim(product: Dict[str, Any]) -> Dict[str, Any]:
|
||||
return {
|
||||
k: v
|
||||
for k, v in product.items()
|
||||
if k not in {"embedding", "embedding_text", "distance"} and v not in (None, "", [], {})
|
||||
if k not in {"embedding", "embedding_text", "distance", "img_vector", "img_vector_src"}
|
||||
and v not in (None, "", [], {})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user