Skip to content

Commit

Permalink
Added higlight for elastic#106068
Browse files Browse the repository at this point in the history
  • Loading branch information
tteofili committed Apr 12, 2024
1 parent b68cae4 commit 1f04e80
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/changelog/106068.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,17 @@ summary: Add `modelId` and `modelText` to `KnnVectorQueryBuilder`
area: Search
type: enhancement
issues: []
highlight:
title: Query phase KNN now supports query_vector_builder
body: |-
It is now possible to pass `model_text` and `model_id` within a `knn` query
in the query DSL to convert a text query into a dense vector and run the
nearest neighbor query on it, instead of requiring the dense vector to be
directly passed (within the `query_vector` parameter). Similar to the
top-level `knn` query (executed in the DFS phase), it is possible to supply
a `query_vector_builder` object containing a `text_embedding` object with
`model_text` (the text query to be converted into a dense vector) and
`model_id` (the identifier of a deployed model responsible for transforming
the text query into a dense vector).
notable: true

0 comments on commit 1f04e80

Please sign in to comment.