pub enum Rationale {
Legacy(String),
Thinking(Vec<Thought>),
}Expand description
Why a seat said what it said.
Until 0.64 the seats wrote their reasoning into a reasoning field of
the decision tool, which is not something a model should be asked to
do: Anthropic’s reasoning_extraction safeguard declines exactly that
(docs). The seats now think before they answer, and the record keeps
what the API returns for that thinking.
Variants§
Legacy(String)
What the seat wrote in the decision tool’s reasoning field
Thinking(Vec<Thought>)
The thinking blocks of the seat’s turn, in order and as the API
returned them. On Anthropic models each is a summary of the model’s
reasoning, written by Anthropic, with a signature over the full
reasoning; the SeatModels entry says which model to replay it
against. Local models’ blocks are their own reasoning, unsigned.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rationale
impl<'de> Deserialize<'de> for Rationale
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<&Content> for Rationale
The thinking blocks of content; anything else in it is not thinking
impl From<&Content> for Rationale
The thinking blocks of content; anything else in it is not thinking
impl StructuralPartialEq for Rationale
Auto Trait Implementations§
impl Freeze for Rationale
impl RefUnwindSafe for Rationale
impl Send for Rationale
impl Sync for Rationale
impl Unpin for Rationale
impl UnsafeUnpin for Rationale
impl UnwindSafe for Rationale
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
impl<T> PendingHandle for Twhere
T: Send + 'static,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more