Anyone try running the code for this on their own Python instance? I can get the Weaviate Client to acknowledge it is ready using my own credentials, but any of the queries return the same error:
response = (
client.query.get(“Articles”, properties)
.with_bm25(
query=query
)
.with_where(where_filter)
.with_limit(num_results)
.do()
will produce an error:
weaviate.exceptions.UnexpectedStatusCodeException: Query was not successful! Unexpected status code: 422, with response body: {‘error’: [{‘message’: ‘no graphql provider present, this is most likely because no schema is present. Import a schema first!’}]}.
Any ideas of how to proceed from here would be appreciated
I have installed the weaviate-Client, cohere, annoy packages. From what I understand about weaviate, a schema is needed in order to run a query and obtain results, but the code from this lesson doesn’t show any schemas … is this part of code that is on the lesson root path? How do I access that?