pub struct RecallQuery {
pub session_id: Option<String>,
pub text: String,
pub query_embedding: Option<Vec<f32>>,
pub limit: usize,
}Expand description
Query used for turn recall.
Fields§
§session_id: Option<String>Optional session filter.
text: StringFree-form query text.
query_embedding: Option<Vec<f32>>Optional embedding used for vector retrieval.
limit: usizeMax number of results.
Trait Implementations§
Source§impl Clone for RecallQuery
impl Clone for RecallQuery
Source§fn clone(&self) -> RecallQuery
fn clone(&self) -> RecallQuery
Returns a duplicate 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 RecallQuery
impl Debug for RecallQuery
Source§impl<'de> Deserialize<'de> for RecallQuery
impl<'de> Deserialize<'de> for RecallQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RecallQuery
impl PartialEq for RecallQuery
Source§impl Serialize for RecallQuery
impl Serialize for RecallQuery
impl StructuralPartialEq for RecallQuery
Auto Trait Implementations§
impl Freeze for RecallQuery
impl RefUnwindSafe for RecallQuery
impl Send for RecallQuery
impl Sync for RecallQuery
impl Unpin for RecallQuery
impl UnsafeUnpin for RecallQuery
impl UnwindSafe for RecallQuery
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