Skip to content

docs: Use cosine similarity in quickstart example#219

Open
Michael-JB wants to merge 1 commit intoqdrant:masterfrom
Michael-JB:master
Open

docs: Use cosine similarity in quickstart example#219
Michael-JB wants to merge 1 commit intoqdrant:masterfrom
Michael-JB:master

Conversation

@Michael-JB
Copy link
Copy Markdown

  • Previously, the quickstart example used dot product distance. This didn't make much sense as the vectors in the example were not normalised. It also led to some weird-looking query results (e.g., searching for the exact vector of the Mumbai point does not return the Mumbai point in the result set). This commit changes the examples to use cosine similarity.
  • While I was in the area, I prefixed '/' to the HTTP request paths so that they're all correct and consistent.

- Previously, the quickstart example used dot product distance. This
  didn't make much sense as the vectors in the example were not
  normalised. It also led to some weird-looking query results. This
  commit changes the examples to use cosine similarity.
- While I was in the area, I prefixed '/' to the HTTP request paths so
  that they're all correct and consistent.
@generall
Copy link
Copy Markdown
Member

generall commented Oct 6, 2024

cc @davidmyriel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants