pub struct HyDEMetadata {
pub generation_time_ms: u64,
pub document_length: usize,
pub estimated_tokens: usize,
pub detected_query_type: String,
pub detected_domain: Option<String>,
pub template_used: Option<String>,
}Expand description
Metadata for HyDE generation
Fields§
§generation_time_ms: u64Generation time in milliseconds
document_length: usizeDocument length in characters
estimated_tokens: usizeDocument length in tokens (approximate)
detected_query_type: StringQuery type detected
detected_domain: Option<String>Domain detected
template_used: Option<String>Template used
Trait Implementations§
Source§impl Clone for HyDEMetadata
impl Clone for HyDEMetadata
Source§fn clone(&self) -> HyDEMetadata
fn clone(&self) -> HyDEMetadata
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 HyDEMetadata
impl RefUnwindSafe for HyDEMetadata
impl Send for HyDEMetadata
impl Sync for HyDEMetadata
impl Unpin for HyDEMetadata
impl UnwindSafe for HyDEMetadata
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