pub struct ConsolidationInput {
pub episodes: Vec<String>,
pub prompt: String,
}Expand description
Entrée de consolidation : les épisodes bruts + le prompt d’extraction prêt à
soumettre. Produit par consolidation_prompt.
Deux usages :
- autonome : passer
promptà unLlmInference(cf.consolidate) ; - piloté par l’agent (ADR-018) : remettre
episodesà l’agent appelant (via le serveur MCP) pour qu’il fasse l’extraction avec son propre LLM, puis applique le résultat viaapply_extraction.
Fields§
§episodes: Vec<String>Contenus des épisodes valides, du plus récent au plus ancien.
prompt: StringPrompt d’extraction complet (consigne + schéma + épisodes).
Trait Implementations§
Source§impl Clone for ConsolidationInput
impl Clone for ConsolidationInput
Source§fn clone(&self) -> ConsolidationInput
fn clone(&self) -> ConsolidationInput
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 moreAuto Trait Implementations§
impl Freeze for ConsolidationInput
impl RefUnwindSafe for ConsolidationInput
impl Send for ConsolidationInput
impl Sync for ConsolidationInput
impl Unpin for ConsolidationInput
impl UnsafeUnpin for ConsolidationInput
impl UnwindSafe for ConsolidationInput
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