diff --git a/app/rag_chain.py b/app/rag_chain.py index 060843f..a2a7a2e 100644 --- a/app/rag_chain.py +++ b/app/rag_chain.py @@ -74,6 +74,7 @@ def build_rag_chain(): # auth_cre= AuthCredentials.api_key("01js3q6y7twaxccm5dbh3se9bt") # 커넥션 설정 (http, grpc 둘 다) + auth_client_secret=Auth.api_key("01js3q6y7twaxccm5dbh3se9bt") connection_params = ConnectionParams.from_params( http_host="183.111.96.67", http_port=32668, @@ -83,7 +84,7 @@ def build_rag_chain(): grpc_secure=False ) - client4 = WeaviateClient(connection_params=connection_params, auth=auth) + client4 = WeaviateClient(connection_params=connection_params, auth_client_secret=auth_client_secret) if client4.is_ready(): print("Weaviate 4 연결 성공!")