From 1698254999f8ac9d5da21fef8d7aef312689fb6b Mon Sep 17 00:00:00 2001 From: localsoo Date: Mon, 21 Apr 2025 00:48:45 +0000 Subject: [PATCH] Update rag_chain.py --- app/rag_chain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/rag_chain.py b/app/rag_chain.py index 032a0f3..863a8a9 100644 --- a/app/rag_chain.py +++ b/app/rag_chain.py @@ -10,7 +10,7 @@ def build_rag_chain(): # 1. Weaviate 클라이언트 auth_config = weaviate.AuthApiKey(api_key="01jryrcctd8c8vxbj4bs2ywrgs") - client = weaviate.connect_to_weaviate_cloud(url="http://183.111.96.67:32668", + client = weaviate.connect_to_weaviate_cloud(cluster_url="http://183.111.96.67:32668", auth_client_secret=auth_config, additional_headers={ "X-OpenAI-Api-Key": "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" # 필요할 경우