This commit is contained in:
Joel
2024-11-15 15:16:53 +08:00
260 changed files with 8313 additions and 1091 deletions

View File

@ -178,6 +178,7 @@ class ElasticSearchVector(BaseVector):
Field.VECTOR.value: { # Make sure the dimension is correct here
"type": "dense_vector",
"dims": dim,
"index": True,
"similarity": "cosine",
},
Field.METADATA_KEY.value: {