Update rag_chain.py
This commit is contained in:
parent
0d807ab4b6
commit
bc95b8bc41
@ -13,7 +13,7 @@ from langchain.embeddings import OpenAIEmbeddings
|
|||||||
|
|
||||||
def build_rag_chain():
|
def build_rag_chain():
|
||||||
# 1. Weaviate 클라이언트
|
# 1. Weaviate 클라이언트
|
||||||
auth_config = weaviate.AuthApiKey(api_key="01js3q6y7twaxccm5dbh3se9bt")
|
auth = weaviate.AuthApiKey(api_key="01js3q6y7twaxccm5dbh3se9bt")
|
||||||
|
|
||||||
# client = weaviate.connect_to_weaviate_cloud(cluster_url="http://183.111.96.67:32668",
|
# client = weaviate.connect_to_weaviate_cloud(cluster_url="http://183.111.96.67:32668",
|
||||||
# auth_credentials=Auth.api_key("01js3q6y7twaxccm5dbh3se9bt"),
|
# auth_credentials=Auth.api_key("01js3q6y7twaxccm5dbh3se9bt"),
|
||||||
@ -34,7 +34,7 @@ def build_rag_chain():
|
|||||||
# host="183.111.96.67", # 도메인 or IP
|
# host="183.111.96.67", # 도메인 or IP
|
||||||
# port=32668, # 포트
|
# port=32668, # 포트
|
||||||
# secure=False, # HTTP면 False, HTTPS면 True
|
# secure=False, # HTTP면 False, HTTPS면 True
|
||||||
# auth_credentials=auth_config
|
# auth_credentials=auth
|
||||||
# )
|
# )
|
||||||
# )
|
# )
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ def build_rag_chain():
|
|||||||
# "port": 32619,
|
# "port": 32619,
|
||||||
# "secure": False
|
# "secure": False
|
||||||
# },
|
# },
|
||||||
# "auth_credentials": auth_config
|
# "auth_credentials": auth
|
||||||
# }
|
# }
|
||||||
http_config = {
|
http_config = {
|
||||||
"host": "183.111.96.67",
|
"host": "183.111.96.67",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user