Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3605

Cannot connect to weaviate in v4 using only url

$
0
0

Hi Everyone. I really need your guys help here!
I am given a weaviate URL which has been deployed as a web app. I am given the url to it - say its https://sample-weaviate.myorg.com (hiding the url for the sake of security). I am not given any ports or any grcp related data.

I had a version 3 code that could connect to it in the following manner

from weaviate import Client as wClient
self.weaviate = wClient(WEAVIATE_ENDPOINT)

Now for version 4, which offers the following ways to connect to it, I am failing miserably, trying to connect to the weaviate instance using just the URL, which I code easily do in v3

  • Weaviate Cloud (not the case for me as its not hosted on weaviate cloud)
  • Local instances (this seems to pre and post append the port to it, so couldn’t get it to work)
  • Custom connections again requires http port, grpc host & port, which I am not provided.
  • Embedded Weaviate (not the case for me)

Can anyone please help me by providing the python code to connect to a weaviate instance, provided only the URL? I’m using weaviate client v4.10.2

Your help will be much appreciated. Thanks folks!


Viewing all articles
Browse latest Browse all 3605

Trending Articles