pub struct GotPipeConfig {
pub pipe: Option<String>,
pub max_nodes: Option<usize>,
pub max_depth: Option<usize>,
pub default_k: Option<usize>,
pub prune_threshold: Option<f64>,
}Expand description
Graph-of-Thoughts pipe configuration.
Fields§
§pipe: Option<String>Consolidated pipe name for all GoT operations (prompts passed dynamically).
max_nodes: Option<usize>Maximum number of nodes in the graph.
max_depth: Option<usize>Maximum depth of the graph.
default_k: Option<usize>Default number of continuations (k).
prune_threshold: Option<f64>Score threshold for pruning nodes.
Trait Implementations§
Source§impl Clone for GotPipeConfig
impl Clone for GotPipeConfig
Source§fn clone(&self) -> GotPipeConfig
fn clone(&self) -> GotPipeConfig
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 GotPipeConfig
impl Debug for GotPipeConfig
Auto Trait Implementations§
impl Freeze for GotPipeConfig
impl RefUnwindSafe for GotPipeConfig
impl Send for GotPipeConfig
impl Sync for GotPipeConfig
impl Unpin for GotPipeConfig
impl UnwindSafe for GotPipeConfig
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