Update rag_chain.py
This commit is contained in:
parent
dc3cdebeaa
commit
d5c30e72ce
@ -71,7 +71,7 @@ def build_rag_chain():
|
|||||||
|
|
||||||
|
|
||||||
# auth_key = AuthCredentials.api_key("01js3q6y7twaxccm5dbh3se9bt") # 없으면 None
|
# auth_key = AuthCredentials.api_key("01js3q6y7twaxccm5dbh3se9bt") # 없으면 None
|
||||||
auth_cre= AuthCredentials.api_key("01js3q6y7twaxccm5dbh3se9bt")
|
# auth_cre= AuthCredentials.api_key("01js3q6y7twaxccm5dbh3se9bt")
|
||||||
|
|
||||||
# 커넥션 설정 (http, grpc 둘 다)
|
# 커넥션 설정 (http, grpc 둘 다)
|
||||||
connection_params = ConnectionParams.from_params(
|
connection_params = ConnectionParams.from_params(
|
||||||
@ -81,7 +81,7 @@ def build_rag_chain():
|
|||||||
grpc_host="183.111.96.67",
|
grpc_host="183.111.96.67",
|
||||||
grpc_port=32619, # 예시 포트, 실제 grpc 포트 넣어야 함
|
grpc_port=32619, # 예시 포트, 실제 grpc 포트 넣어야 함
|
||||||
grpc_secure=False,
|
grpc_secure=False,
|
||||||
auth_credentials=auth_cre # 없으면 생략 가능
|
auth_credentials=auth # 없으면 생략 가능
|
||||||
)
|
)
|
||||||
|
|
||||||
client4 = WeaviateClient(connection_params=connection_params)
|
client4 = WeaviateClient(connection_params=connection_params)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user