Discovery article (#459)

* article

* Add most images

* improve images and text

* add preview, icon, and header images

* add weird dragon image

* Improve analogy

* kacper review fixes

* improve discovery-search image

* switch discovery example, improve triplet loss explanation

* better wrapup

* more improvements

* more improvements

* improve readability, thanks to @mjang for the close inspection

* Set date to Jan 31st, 2024 at 8AM
This commit is contained in:
Luis Cossío
2024-01-30 17:56:24 -03:00
committed by GitHub
parent 79c3aea488
commit 8eecb71166
22 changed files with 167 additions and 3 deletions
@@ -587,12 +587,12 @@ In this API, Qdrant introduces the concept of `context`, which is used for split
The interface for providing context is similar to the recommendation API (ids or raw vectors). Still, in this case, they need to be provided in the form of positive-negative pairs.
Discovery API lets you do two new types of search:
- **Discovery search**: Uses a target and context pairs of examples to get the points closest to the target, but constrained by the context.
- **Discovery search**: Uses the context (the pairs of positive-negative vectors) and a target to return the points more similar to the target, but constrained by the context.
- **Context search**: Using only the context pairs, get the points that live in the best zone, where loss is minimized
The way positive and negative examples should be arranged in the context pairs is completely up to you. So you can have the flexibility of trying out different permutation techniques based on your model and data.
<aside role="alert">The speed of search is linearly related to the amount of examples</aside>
<aside role="alert">The speed of search is linearly related to the amount of examples you provide in the query.</aside>
### Discovery search