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 )