-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for ElasticSearch as a vector store #982
Support for ElasticSearch as a vector store #982
Conversation
Were you able to get it working? @vinodkiran |
There seems to be an issue with the underlying vector store implementation. I have raised a ticket with the langchain team. |
@HenryHengZJ PR Is now complete...Kindly review and merge. |
The Underlying langchain vector store creates the following index. Kindly check your index in Elastic Cloud. {
"mappings": {
"dynamic_templates": [
{
"metadata.*": {
"match_mapping_type": "*",
"mapping": {
"type": "keyword"
}
}
}
],
"properties": {
"embedding": {
"type": "dense_vector",
"dims": 1536,
"index": true,
"similarity": "l2_norm",
"index_options": {
"type": "hnsw",
"m": 16,
"ef_construction": 100
}
},
"metadata": {
"properties": {
"source": {
"type": "keyword"
}
}
},
"text": {
"type": "text"
}
}
}
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much appreciated for figuring out the issue and got it working!
@vinodkiran the metadata filter is still not working right? we can open another PR to enhance that |
…h-vectorstore Support for ElasticSearch as a vector store
No description provided.