I’m having some problems with a Q&A system using the text2vec-transformer model in Local. I’m using the weaviate version 1.23.9
When I make a question about a processed and vectorized document, It response properly, giving me the correct answer using the correct context ( I can track with what context is answer me)
I also have the limit of 3 context per question to make the answer.
The problem is that when I reboot the system, I make the same question an weaviate doesn’t found any context to make the response. Or even if it founds a context, before the system reboot it found 3 context for the same question.
I checked the weaviate database and all the information still there, i also checked the vectors and they are same. I checked too the creationTimeUnix and the lastUpdateTimeUnix and they are the same.
I don’t know what is happening.
This is the code to get the context from weaviate:
def get_vectors(prompt, technology):
try:
response = (
client.query
.get("Context", ["content", "technology", "document","titleTotal"])
.with_near_text({
"concepts": [prompt],
"distance": 0.65
})
.with_where({
"path": ["technology"],
"operator": "Equal",
"valueText": str(technology)
})
.with_additional(["id"])
.with_limit(3)
.do()
)
return response
except Exception as ex:
print(ex)