feat: complete catalog-driven preprocessing
Publish documentation / publish (push) Successful in 2m12s
Publish documentation / publish (push) Successful in 2m12s
This commit is contained in:
@@ -39,8 +39,11 @@ def translate_legacy_config(raw: dict[str, Any]) -> tuple[dict[str, Any], bool]:
|
||||
translated_vectors: dict[str, Any] = {
|
||||
"type": "qdrant",
|
||||
"base_url": vector.get("base_url"),
|
||||
"collection": vector.get("collection"),
|
||||
}
|
||||
if isinstance(vector.get("collections"), dict):
|
||||
translated_vectors["collections"] = vector["collections"]
|
||||
else:
|
||||
translated_vectors["collection"] = vector.get("collection")
|
||||
if vector.get("collection_lifecycle") in ("self_heal", "require_existing"):
|
||||
translated_vectors["collection_lifecycle"] = vector["collection_lifecycle"]
|
||||
translated["vectors"] = translated_vectors
|
||||
|
||||
Reference in New Issue
Block a user