pub struct KnowledgeQuery {
pub query: String,
pub categories: Option<Vec<String>>,
pub limit: Option<usize>,
pub min_score: Option<f32>,
}Expand description
Knowledge query for finding relevant knowledge items
Fields§
§query: StringThe user’s query or task description
categories: Option<Vec<String>>Specific categories to search
limit: Option<usize>Maximum number of results
min_score: Option<f32>Minimum match score threshold
Trait Implementations§
Source§impl Clone for KnowledgeQuery
impl Clone for KnowledgeQuery
Source§fn clone(&self) -> KnowledgeQuery
fn clone(&self) -> KnowledgeQuery
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 KnowledgeQuery
impl Debug for KnowledgeQuery
Source§impl Default for KnowledgeQuery
impl Default for KnowledgeQuery
Source§fn default() -> KnowledgeQuery
fn default() -> KnowledgeQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KnowledgeQuery
impl RefUnwindSafe for KnowledgeQuery
impl Send for KnowledgeQuery
impl Sync for KnowledgeQuery
impl Unpin for KnowledgeQuery
impl UnwindSafe for KnowledgeQuery
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