Update rag_chain.py

This commit is contained in:
localsoo 2025-04-21 01:55:02 +00:00
parent e782e6c552
commit d7caba226b

@ -36,6 +36,18 @@ def build_rag_chain():
auth_credentials=auth_config auth_credentials=auth_config
) )
) )
connection_params = ConnectionParams(
http_host="183.111.96.67",
http_port=32668,
http_secure=False,
grpc_host="183.111.96.67",
grpc_port=32619,
grpc_secure=False,
auth_credentials=auth_config
)
client = WeaviateClient(connection_params)
# client = weaviate.connect_to_custom( # client = weaviate.connect_to_custom(
# http_host="183.111.96.67", # http_host="183.111.96.67",