pub struct ClassificationMetadata {
pub entities: Vec<String>,
pub domain: Option<String>,
pub complexity: f32,
pub needs_context: bool,
pub suggested_strategies: Vec<String>,
}Expand description
Additional metadata from classification
Fields§
§entities: Vec<String>Key entities detected in the query
domain: Option<String>Domain/topic detected
complexity: f32Complexity score
needs_context: boolWhether query requires context
suggested_strategies: Vec<String>Suggested search strategies
Trait Implementations§
Source§impl Clone for ClassificationMetadata
impl Clone for ClassificationMetadata
Source§fn clone(&self) -> ClassificationMetadata
fn clone(&self) -> ClassificationMetadata
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 moreAuto Trait Implementations§
impl Freeze for ClassificationMetadata
impl RefUnwindSafe for ClassificationMetadata
impl Send for ClassificationMetadata
impl Sync for ClassificationMetadata
impl Unpin for ClassificationMetadata
impl UnwindSafe for ClassificationMetadata
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