Hello everyone and thanks for this awesome product,
I am trying to create a small database that will store 6 vectors and find the similarity against a queried input vector. I have managed to create the schema, create the vectors, store them, but when I query a vector against the database I get an empty result. I was expecting to get the list of closest vectors together with their distance. I don’t know exactly what is the problem. The following figure show my schema defintion, and the data importation, while underneath I have the similarity search.
nearVector = {
“vector”: [1.0, 2.0, 3.0, 4.0, 5.0]
}
result = (
client.query.get(“RandomVectorEntity”, [“id_number”, “vector”])
.with_additional(“distance”)
.with_near_vector(nearVector)
.do()
)
print(result)
The output is just:
---------------------search--------------------
{‘data’: {‘Get’: {‘RandomVectorEntity’: }}}
Thank you very much for the awesome work