Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,12 @@ from weaviate import WeaviateClient
|
|
6 |
from weaviate.auth import AuthApiKey
|
7 |
import cohere
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
)
|
14 |
|
15 |
cohere_client = cohere.Client("LEvCVeZkqZMW1aLYjxDqlstCzWi4Cvlt9PiysqT8")
|
|
|
6 |
from weaviate.auth import AuthApiKey
|
7 |
import cohere
|
8 |
|
9 |
+
weaviate_url = "vgwhgmrlqrqqgnlb1avjaa.c0.us-west3.gcp.weaviate.cloud"
|
10 |
+
weaviate_api_key = "7VoeYTjkOS4aHINuhllGpH4JPgE2QquFmSMn"
|
11 |
+
|
12 |
+
]client = weaviate.connect_to_weaviate_cloud(
|
13 |
+
cluster_url=weaviate_url,
|
14 |
+
auth_credentials=Auth.api_key(weaviate_api_key),
|
15 |
)
|
16 |
|
17 |
cohere_client = cohere.Client("LEvCVeZkqZMW1aLYjxDqlstCzWi4Cvlt9PiysqT8")
|