pub struct SemanticTaskScoring {
pub correct_weight: u32,
pub all_correct_weight: u32,
pub work_weight: u32,
pub improvement_weight: u32,
pub refusal_weight: u32,
pub spent_weight: u32,
}Expand description
Explicit nonnegative coefficients for query agreement and measured work. These coefficients determine the measured value and final return; ordered task priorities, agreement, and cost select the candidate in that order.
Fields§
§correct_weight: u32§all_correct_weight: u32§work_weight: u32§improvement_weight: u32§refusal_weight: u32§spent_weight: u32Trait Implementations§
Source§impl Clone for SemanticTaskScoring
impl Clone for SemanticTaskScoring
Source§fn clone(&self) -> SemanticTaskScoring
fn clone(&self) -> SemanticTaskScoring
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 moreimpl Copy for SemanticTaskScoring
Source§impl Debug for SemanticTaskScoring
impl Debug for SemanticTaskScoring
impl Eq for SemanticTaskScoring
Source§impl PartialEq for SemanticTaskScoring
impl PartialEq for SemanticTaskScoring
impl StructuralPartialEq for SemanticTaskScoring
Auto Trait Implementations§
impl Freeze for SemanticTaskScoring
impl RefUnwindSafe for SemanticTaskScoring
impl Send for SemanticTaskScoring
impl Sync for SemanticTaskScoring
impl Unpin for SemanticTaskScoring
impl UnsafeUnpin for SemanticTaskScoring
impl UnwindSafe for SemanticTaskScoring
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more