pub struct CodewikiAiOptions {
pub routing: Option<AiRouting>,
pub depth: AiDepth,
pub prose_depth: ProseDepth,
pub register: Option<ProseRegister>,
pub aggregate_profile: Option<String>,
pub verify_profile: Option<String>,
pub verify_model: Option<String>,
pub verify_api_key: Option<String>,
}Fields§
§routing: Option<AiRouting>§depth: AiDepth§prose_depth: ProseDepthOutput verbosity (per-page token budget). Default keeps prior behavior.
register: Option<ProseRegister>Audience register layered onto generation prompts. None keeps the base
voice; grounding rules hold in every register.
aggregate_profile: Option<String>Daemon feature profile override for aggregate docs. None (the default)
routes aggregate/curated writing to the opus-first chain
(writer_candidate_chain in text/generation.rs); Some(profile) pins
that named daemon feature profile instead.
verify_profile: Option<String>Override seams for the grounded verification pass. Each None falls
back to the resolved ai.text_generate.verify_* config, then to the
generate model/key and [super::DEFAULT_VERIFY_PROFILE]. Kept here so
the generator set is resolved from one options value and the precedence
is unit-testable.
verify_model: Option<String>§verify_api_key: Option<String>Trait Implementations§
Source§impl Clone for CodewikiAiOptions
impl Clone for CodewikiAiOptions
Source§fn clone(&self) -> CodewikiAiOptions
fn clone(&self) -> CodewikiAiOptions
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 CodewikiAiOptions
impl Debug for CodewikiAiOptions
Source§impl Default for CodewikiAiOptions
impl Default for CodewikiAiOptions
Source§fn default() -> CodewikiAiOptions
fn default() -> CodewikiAiOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodewikiAiOptions
impl RefUnwindSafe for CodewikiAiOptions
impl Send for CodewikiAiOptions
impl Sync for CodewikiAiOptions
impl Unpin for CodewikiAiOptions
impl UnsafeUnpin for CodewikiAiOptions
impl UnwindSafe for CodewikiAiOptions
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