pub struct ContextOptions {
pub count: Option<i32>,
pub country: Option<String>,
pub language: Option<String>,
pub freshness: Option<String>,
}Expand description
Options for configuring LLM context search requests.
Fields§
§count: Option<i32>Number of context chunks to return.
country: Option<String>Country code filter.
language: Option<String>Language code filter.
freshness: Option<String>Time range filter.
Trait Implementations§
Source§impl Clone for ContextOptions
impl Clone for ContextOptions
Source§fn clone(&self) -> ContextOptions
fn clone(&self) -> ContextOptions
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 ContextOptions
impl Debug for ContextOptions
Source§impl Default for ContextOptions
impl Default for ContextOptions
Source§fn default() -> ContextOptions
fn default() -> ContextOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContextOptions
impl RefUnwindSafe for ContextOptions
impl Send for ContextOptions
impl Sync for ContextOptions
impl Unpin for ContextOptions
impl UnsafeUnpin for ContextOptions
impl UnwindSafe for ContextOptions
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