pub enum QueryInput {
Text {
text: String,
model: Option<String>,
},
Image {
source: String,
model: Option<String>,
},
Vector(VectorValue),
Point(PointId),
}Variants§
Text
Image
Image path or URL for dense embedding (CLIP vision, etc.).
Resolved to VectorValue::Dense before plan/dispatch.
Vector(VectorValue)
Point(PointId)
Trait Implementations§
Source§impl Clone for QueryInput
impl Clone for QueryInput
Source§fn clone(&self) -> QueryInput
fn clone(&self) -> QueryInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueryInput
impl Debug for QueryInput
Source§impl PartialEq for QueryInput
impl PartialEq for QueryInput
impl StructuralPartialEq for QueryInput
Auto Trait Implementations§
impl Freeze for QueryInput
impl RefUnwindSafe for QueryInput
impl Send for QueryInput
impl Sync for QueryInput
impl Unpin for QueryInput
impl UnsafeUnpin for QueryInput
impl UnwindSafe for QueryInput
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