On the second lecture ( Keyword search ) by running this part of code
client = weaviate.Client(
url=os.environ[‘WEAVIATE_API_URL’],
auth_client_secret=auth_config,
additional_headers={
“X-Cohere-Api-Key”: os.environ[‘COHERE_API_KEY’],
}
)
I get a error:
WeaviateStartUpError: Weaviate did not start up in 5 seconds. Either the Weaviate URL jupyter-api-proxy.internal.dlai/rev-proxy/weaviate is wrong or Weaviate did not start up in the interval given in ‘startup_period’.
Have Also tried to replace the URL value with the value from the video ( cohere-demo-weaviate network) and get the same error.
Did the WEAVIATE_API_URL been changed or some of the others env variables?
I think the most plausible scenario is that the weaviate cluster has expired. It’s been over two years. This page provides an easy-to-follow quick-start on setting up a weaviate cluster. It’s quite easy to set up, just that you may not be able to replicate the search in the video as that entails setting up the exact same database.
For now, I suggest you just follow the course video and learn the concept. Afterwards, set up your own cluster and practice, pending when the course will be updated by the staff. Know that a free weaviate sandbox cluster expires in 14 days. It’s basically for learning.