Enum elasticsearch_dsl::search::knn::QueryVectorBuilder
source · pub enum QueryVectorBuilder {
TextEmbedding(TextEmbedding),
}Expand description
A configuration object indicating how to build a query_vector before executing the request.
Currently, the only supported builder is TextEmbedding.
https://www.elastic.co/guide/en/elasticsearch/reference/8.13/knn-search.html#knn-semantic-search
Variants§
TextEmbedding(TextEmbedding)
The natural language processing task to perform.
Trait Implementations§
source§impl Clone for QueryVectorBuilder
impl Clone for QueryVectorBuilder
source§fn clone(&self) -> QueryVectorBuilder
fn clone(&self) -> QueryVectorBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for QueryVectorBuilder
impl Debug for QueryVectorBuilder
source§impl From<TextEmbedding> for QueryVectorBuilder
impl From<TextEmbedding> for QueryVectorBuilder
source§fn from(embedding: TextEmbedding) -> Self
fn from(embedding: TextEmbedding) -> Self
Converts to this type from the input type.
source§impl PartialEq for QueryVectorBuilder
impl PartialEq for QueryVectorBuilder
source§impl Serialize for QueryVectorBuilder
impl Serialize for QueryVectorBuilder
impl StructuralPartialEq for QueryVectorBuilder
Auto Trait Implementations§
impl Freeze for QueryVectorBuilder
impl RefUnwindSafe for QueryVectorBuilder
impl Send for QueryVectorBuilder
impl Sync for QueryVectorBuilder
impl Unpin for QueryVectorBuilder
impl UnwindSafe for QueryVectorBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)