Hi, I am getting the following error whenever I try to query from the collection.
I tried querying by bm25 search, vector search and also using fetch_objects() method. Couldn’t query by any means, getting the same error.
Traceback (most recent call last):
File "D:\Weaviate\checking_connectivity.py", line 39, in <module>
response = collection_name.query.fetch_objects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\fetch_objects\query.py", line 76, in fetch_objects
return self._result_to_query_return(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\base.py", line 350, in _result_to_query_return
objects=[
^
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\base.py", line 351, in <listcomp>
self.__result_to_query_object(obj.properties, obj.metadata, options)
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\base.py", line 229, in __result_to_query_object
self.__parse_nonref_properties_result(props.non_ref_props)
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\base.py", line 196, in __parse_nonref_properties_result
return {
^
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\base.py", line 197, in <dictcomp>
name: self.__deserialize_non_ref_prop(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Laptop\AppData\Local\Programs\Python\Python311\Lib\site-packages\weaviate\collections\queries\base.py", line 181, in __deserialize_non_ref_prop
assert value.HasField("phone_value")
AssertionError