Skip to content

Commit

Permalink
vecsim docs fix (#2402)
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim authored Sep 28, 2022
1 parent 6b3e0b4 commit 7ee76a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/search_vector_similarity_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"r.hset(\"b\", \"v\", \"aaaabaaa\")\n",
"r.hset(\"c\", \"v\", \"aaaaabaa\")\n",
"\n",
"q = Query(\"*=>[KNN 2 @v $vec]\").return_field(\"__v_score\")\n",
"q = Query(\"*=>[KNN 2 @v $vec]\").return_field(\"__v_score\").dialect(2)\n",
"r.ft().search(q, query_params={\"vec\": \"aaaaaaaa\"})"
]
}
Expand Down

0 comments on commit 7ee76a8

Please sign in to comment.