Skip to content

Commit

Permalink
fix(bedrock): create index with faiss and l2 (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
jl4nz committed Apr 1, 2024
1 parent 5508038 commit 529fbc5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def create_mapping(
"type": "knn_vector",
"dimension": dimensions,
"method": {
"engine": "nmslib",
"space_type": "cosinesimil",
"engine": "faiss",
"space_type": "l2",
"name": "hnsw",
"parameters": {},
},
Expand Down

0 comments on commit 529fbc5

Please sign in to comment.