neartext = {"concepts": ["Who is ###"]}
generate_prompt = "You are a mentor guide in a professional way if u dont know reply politely"
response = (
client.query
.get("class_name", ["property_1", "property_2"])
.with_generate(grouped_task=generate_prompt)
.with_tenant("tenant_name")
.with_near_text(neartext)
.with_limit(3)
).do()
print(json.dumps(response, indent=2))
{
"data": {
"Get": {
"Multi_tenancy": [
{
"_additional": {
"generate": {
"error": null,
"groupedResult": "I'm sorry, but I don't have the information you're looking for."
}
},
"adidas": null,
"deep": "#####is a############lated services and are ###### out of # with#########tion.\nThe C###########################."
},
{
"_additional": {
"generate": null
},
"adidas": null,
"deep": "An##us##hk##########################################"
},
{
"_additional": {
"generate": null
},
"adidas": null,
"deep": "\u2013 Training data: used to train network\n\u2013 Cross Validatio#################Production data: #######l network (MNN) is the most co#####################ge classification in remote\nsensing. MNN is us################################m."
}
]
}
}
}
The group result isn’t retrieving from the properties it has retrieved