pub struct QualityTrajectory {
pub query_embedding: Vec<f32>,
pub response_embedding: Vec<f32>,
pub route: String,
pub quality: f32,
pub context_ids: Vec<String>,
}Expand description
Quality trajectory for preference learning
Fields§
§query_embedding: Vec<f32>Query embedding
response_embedding: Vec<f32>Response embedding
route: StringModel route
quality: f32Quality score
context_ids: Vec<String>Context IDs
Trait Implementations§
Source§impl Clone for QualityTrajectory
impl Clone for QualityTrajectory
Source§fn clone(&self) -> QualityTrajectory
fn clone(&self) -> QualityTrajectory
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 QualityTrajectory
impl RefUnwindSafe for QualityTrajectory
impl Send for QualityTrajectory
impl Sync for QualityTrajectory
impl Unpin for QualityTrajectory
impl UnwindSafe for QualityTrajectory
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