Update rag_chain.py
This commit is contained in:
parent
9f4bbc6adc
commit
cdf6f84bed
@ -37,19 +37,33 @@ def build_rag_chain():
|
||||
# )
|
||||
# )
|
||||
|
||||
connection_params = ConnectionParams(
|
||||
http=HttpConfig(
|
||||
host="183.111.96.67",
|
||||
port=32668,
|
||||
secure=False),
|
||||
grpc=GrpcConfig(
|
||||
host="183.111.96.67",
|
||||
port=32619,
|
||||
secure=False),
|
||||
auth_credentials=auth_config
|
||||
)
|
||||
connection_params = {
|
||||
"http": {
|
||||
"host": "183.111.96.67",
|
||||
"port": 32668,
|
||||
"secure": False
|
||||
},
|
||||
"grpc": {
|
||||
"host": "183.111.96.67",
|
||||
"port": 32619,
|
||||
"secure": False
|
||||
},
|
||||
"auth_credentials": auth_config
|
||||
}
|
||||
|
||||
client = WeaviateClient(connection_params)
|
||||
# connection_params = ConnectionParams(
|
||||
# http=HttpConfig(
|
||||
# host="183.111.96.67",
|
||||
# port=32668,
|
||||
# secure=False),
|
||||
# grpc=GrpcConfig(
|
||||
# host="183.111.96.67",
|
||||
# port=32619,
|
||||
# secure=False),
|
||||
# auth_credentials=auth_config
|
||||
# )
|
||||
|
||||
client = WeaviateClient(connection_params=connection_params)
|
||||
|
||||
# client = weaviate.connect_to_custom(
|
||||
# http_host="183.111.96.67",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user