pub struct RecallContextRequest {
pub query: String,
pub conversation_id: Option<String>,
pub limit: usize,
pub lexical_weight: f64,
pub vector_weight: f64,
}Fields§
§query: String§conversation_id: Option<String>§limit: usize§lexical_weight: f64§vector_weight: f64Trait Implementations§
Source§impl Clone for RecallContextRequest
impl Clone for RecallContextRequest
Source§fn clone(&self) -> RecallContextRequest
fn clone(&self) -> RecallContextRequest
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 RecallContextRequest
impl Debug for RecallContextRequest
Source§impl<'de> Deserialize<'de> for RecallContextRequest
impl<'de> Deserialize<'de> for RecallContextRequest
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
Auto Trait Implementations§
impl Freeze for RecallContextRequest
impl RefUnwindSafe for RecallContextRequest
impl Send for RecallContextRequest
impl Sync for RecallContextRequest
impl Unpin for RecallContextRequest
impl UnsafeUnpin for RecallContextRequest
impl UnwindSafe for RecallContextRequest
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