We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elasticsearch.BadRequestError: BadRequestError(400, 'x_content_parse_exception', '[1:80] [knn] unknown field [vector]')
I got this error when exec add memory function. I'm using the latest version 8.17.0.
add
According to the document about knn search in elasticsearch. It seems that the format of search query has been changed?
The search query in mem0:
mem0/mem0/vector_stores/elasticsearch.py
Lines 127 to 128 in 80c9c6a
I change the query into:
"knn": { "field": "embedding", "query_vector": query, "k": limit }
Then it worked.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Describe the bug
I got this error when exec
add
memory function.I'm using the latest version 8.17.0.
According to the document about knn search in elasticsearch. It seems that the format of search query has been changed?
The search query in mem0:
mem0/mem0/vector_stores/elasticsearch.py
Lines 127 to 128 in 80c9c6a
I change the query into:
Then it worked.
The text was updated successfully, but these errors were encountered: