From 0bcec979047669092c28ce5a57ac9a0fb38678ab Mon Sep 17 00:00:00 2001 From: groupuser Date: Wed, 23 Apr 2025 01:58:58 +0000 Subject: [PATCH] Update retriever.py --- app/retriever.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/retriever.py b/app/retriever.py index 456240a..7813bac 100644 --- a/app/retriever.py +++ b/app/retriever.py @@ -14,10 +14,10 @@ weaviate_api_key = os.getenv("WEAVIATE_API_KEY", "01jse60hwsf37za5kmnkzzcwa9") def get_retriever(): client = weaviate.connect_to_custom( http_host=http_host, # Hostname for the HTTP API connection - http_port=32656, # Default is 80, WCD uses 443 + http_port=31008, # Default is 80, WCD uses 443 http_secure=False, # Whether to use https (secure) for the HTTP API connection grpc_host=grpc_host, # Hostname for the gRPC API connection - grpc_port=30498, # Default is 50051, WCD uses 443 + grpc_port=30311, # Default is 50051, WCD uses 443 grpc_secure=False, # Whether to use a secure channel for the gRPC API connection auth_credentials=Auth.api_key(weaviate_api_key), # API key for authentication )