pub struct ReportConfig {Show 16 fields
pub provider: ProviderKind,
pub model: Option<String>,
pub ollama_host: String,
pub allow_nonlocal_ollama_host: bool,
pub ollama_timeout_secs: u64,
pub ollama_keep_alive: Option<String>,
pub ollama_dimensions: Option<usize>,
pub ollama_truncate: bool,
pub model_cache_dir: Option<PathBuf>,
pub native_threads: Option<usize>,
pub threshold: f32,
pub top_k: usize,
pub min_lines: usize,
pub min_tokens: usize,
pub cache_dir: Option<PathBuf>,
pub allow_source_upload: bool,
}Fields§
§provider: ProviderKind§model: Option<String>§ollama_host: String§allow_nonlocal_ollama_host: bool§ollama_timeout_secs: u64§ollama_keep_alive: Option<String>§ollama_dimensions: Option<usize>§ollama_truncate: bool§model_cache_dir: Option<PathBuf>§native_threads: Option<usize>§threshold: f32§top_k: usize§min_lines: usize§min_tokens: usize§cache_dir: Option<PathBuf>§allow_source_upload: boolTrait Implementations§
Source§impl Clone for ReportConfig
impl Clone for ReportConfig
Source§fn clone(&self) -> ReportConfig
fn clone(&self) -> ReportConfig
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 ReportConfig
impl Debug for ReportConfig
Auto Trait Implementations§
impl Freeze for ReportConfig
impl RefUnwindSafe for ReportConfig
impl Send for ReportConfig
impl Sync for ReportConfig
impl Unpin for ReportConfig
impl UnsafeUnpin for ReportConfig
impl UnwindSafe for ReportConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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