pub struct AIWorkloadStatsForAdmin {
pub embedding_retrieval_count: u64,
pub context_lookup_count: u64,
pub knowledge_base_count: u64,
pub tool_execution_count: u64,
pub avg_vector_dimensions: f64,
}Expand description
AI workload stats for admin API
Fields§
§embedding_retrieval_count: u64§context_lookup_count: u64§knowledge_base_count: u64§tool_execution_count: u64§avg_vector_dimensions: f64Implementations§
Source§impl AIWorkloadStatsForAdmin
impl AIWorkloadStatsForAdmin
Sourcepub fn total_ai_queries(&self) -> u64
pub fn total_ai_queries(&self) -> u64
Get total AI queries
Trait Implementations§
Source§impl Clone for AIWorkloadStatsForAdmin
impl Clone for AIWorkloadStatsForAdmin
Source§fn clone(&self) -> AIWorkloadStatsForAdmin
fn clone(&self) -> AIWorkloadStatsForAdmin
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 AIWorkloadStatsForAdmin
impl Debug for AIWorkloadStatsForAdmin
Source§impl Default for AIWorkloadStatsForAdmin
impl Default for AIWorkloadStatsForAdmin
Source§fn default() -> AIWorkloadStatsForAdmin
fn default() -> AIWorkloadStatsForAdmin
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AIWorkloadStatsForAdmin
impl RefUnwindSafe for AIWorkloadStatsForAdmin
impl Send for AIWorkloadStatsForAdmin
impl Sync for AIWorkloadStatsForAdmin
impl Unpin for AIWorkloadStatsForAdmin
impl UnsafeUnpin for AIWorkloadStatsForAdmin
impl UnwindSafe for AIWorkloadStatsForAdmin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more