Skip to content

Commit

Permalink
removed relative imports of weaviate class
Browse files Browse the repository at this point in the history
Signed-off-by: sunilkumardash9 <sunilkumardash9@gmail.com>
  • Loading branch information
sunilkumardash9 committed Jul 7, 2023
1 parent 90d4991 commit b6a1899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gptcache/manager/vector_data/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def get(name, **kwargs):
index_params=index_params,
)
elif name == "weaviate":
from .. vector_data.weaviate import Weaviate
from gptcache.manager.vector_data.weaviate import Weaviate
url = kwargs.get("url", None)
auth_client_secret = kwargs.get('auth_client_secret', None),
timeout_config = kwargs.get("timeout_config", (10, 60))
Expand Down
2 changes: 1 addition & 1 deletion gptcache/manager/vector_data/weaviate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np

from gptcache.manager.vector_data.base import VectorBase, VectorData
from ... utils import import_weaviate
from gptcache.utils import import_weaviate
from gptcache.utils.log import gptcache_log

from weaviate import Client, EmbeddedOptions, Config
Expand Down

0 comments on commit b6a1899

Please sign in to comment.