File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class RAGHelper:
4545 def __init__ (self , doc_path : str ):
4646 # Initialize Weaviate client first
4747 weaviate_host = os .getenv ("WEAVIATE_HOST" , "localhost" )
48- weaviate_port = os .getenv ("WEAVIATE_PORT" , "8083 " )
48+ weaviate_port = os .getenv ("WEAVIATE_PORT" , "8087 " )
4949 # Use custom connection with HTTP only since gRPC is not exposed
5050 self .weaviate_client = weaviate .connect_to_custom (
5151 http_host = weaviate_host ,
@@ -54,10 +54,7 @@ def __init__(self, doc_path: str):
5454 grpc_host = weaviate_host ,
5555 grpc_port = 50051 ,
5656 grpc_secure = False ,
57- skip_init_checks = True ,
58- additional_config = weaviate .init .AdditionalConfig (
59- timeout = weaviate .init .Timeout (init = 60 )
60- )
57+ skip_init_checks = True
6158 )
6259
6360 # Load documents
You can’t perform that action at this time.
0 commit comments