Giving Weaviate a go using python client with the example for wine reviews, not sure if this is a function error:
Query:
query_result = ( client.query
.get("Wine",["title","description"])
.with_limit(5)
.with_near_text({"concepts" : ["white"]})
.do())
Response:
{'errors': [{'locations': [{'column': 20, 'line': 1}], 'message': 'Unknown argument "nearText" on field "Wine" of type "GetObjectsObj". Did you mean "nearVector" or "nearObject"?', 'path': None}]}
An empty query do return results as expected.
Schema:
{
"classes": [
{
"class": "Wine",
"invertedIndexConfig": {
"bm25": {
"b": 0.75,
"k1": 1.2
},
"cleanupIntervalSeconds": 60,
"stopwords": {
"additions": null,
"preset": "en",
"removals": null
}
},
"properties": [
{
"dataType": [
"text"
],
"name": "title",
"tokenization": "word"
},
{
"dataType": [
"text"
],
"name": "description",
"tokenization": "word"
}
],
"replicationConfig": {
"factor": 1
},
"shardingConfig": {
"virtualPerPhysical": 128,
"desiredCount": 1,
"actualCount": 1,
"desiredVirtualCount": 128,
"actualVirtualCount": 128,
"key": "_id",
"strategy": "hash",
"function": "murmur3"
},
"vectorIndexConfig": {
"skip": false,
"cleanupIntervalSeconds": 300,
"maxConnections": 64,
"efConstruction": 128,
"ef": -1,
"dynamicEfMin": 100,
"dynamicEfMax": 500,
"dynamicEfFactor": 8,
"vectorCacheMaxObjects": 1000000000000,
"flatSearchCutoff": 40000,
"distance": "cosine"
},
"vectorIndexType": "hnsw",
"vectorizer": "none"
}
]
}
Weaviate should return the results "wine reviews" related to "white"