pub struct ModelAdvisorReport {
pub recommend_grid_run: bool,
pub reason: String,
pub current_embedder: String,
pub memories_to_reindex: u64,
pub estimated_reindex_tokens: u64,
pub candidate_models: Vec<ModelCandidate>,
}Expand description
Model re-selection advisor recommendation.
Fields§
§recommend_grid_run: boolWhether the advisor recommends re-running the grid now.
reason: StringReason for the recommendation.
current_embedder: StringCurrently active embedder model id.
memories_to_reindex: u64Approximate number of memories to re-embed if the model changes.
estimated_reindex_tokens: u64Estimated token cost to reindex (conservative lower-bound).
candidate_models: Vec<ModelCandidate>Estimated approximate download size for all candidate models (MiB).
Trait Implementations§
Source§impl Clone for ModelAdvisorReport
impl Clone for ModelAdvisorReport
Source§fn clone(&self) -> ModelAdvisorReport
fn clone(&self) -> ModelAdvisorReport
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 moreSource§impl Debug for ModelAdvisorReport
impl Debug for ModelAdvisorReport
Source§impl<'de> Deserialize<'de> for ModelAdvisorReport
impl<'de> Deserialize<'de> for ModelAdvisorReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModelAdvisorReport
impl RefUnwindSafe for ModelAdvisorReport
impl Send for ModelAdvisorReport
impl Sync for ModelAdvisorReport
impl Unpin for ModelAdvisorReport
impl UnsafeUnpin for ModelAdvisorReport
impl UnwindSafe for ModelAdvisorReport
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