Update rag_chain.py

This commit is contained in:
localsoo 2025-04-21 23:37:59 +00:00
parent 6457a3a6ec
commit 38b7f4b95a

@ -98,7 +98,7 @@ def build_rag_chain():
client = weaviate.Client( client = weaviate.Client(
url="http://183.111.96.67:32668", # 예: http://localhost:8080 url="http://183.111.96.67:32401", # 예: http://localhost:8080
auth_client_secret=weaviate.AuthApiKey(api_key="01js3q6y7twaxccm5dbh3se9bt"), auth_client_secret=weaviate.AuthApiKey(api_key="01js3q6y7twaxccm5dbh3se9bt"),
additional_headers={ additional_headers={
"X-OpenAI-Api-Key": OPENAI_API_KEY "X-OpenAI-Api-Key": OPENAI_API_KEY