fixed change request

This commit is contained in:
cs0lar
2023-04-15 18:52:59 +01:00
parent 2678a5a74b
commit 8916b76f11

View File

@@ -47,7 +47,7 @@ class WeaviateMemory(MemoryProviderSingleton):
def _build_auth_credentials(self, cfg):
if cfg.weaviate_username and cfg.weaviate_password:
return weaviate_auth.AuthClientPassword(cfg.weaviate_username, cfg.weaviate_password)
return weaviate.auth.AuthClientPassword(cfg.weaviate_username, cfg.weaviate_password)
if cfg.weaviate_api_key:
return weaviate.auth.AuthApiKey(api_key=cfg.weaviate_api_key)
else: