Skip to main content

CompactionEffect

Trait CompactionEffect 

Source
pub trait CompactionEffect: InferenceEffect + From<ConversationEffect> {
    // Provided method
    fn compact(conversation: Conversation) -> Self { ... }
}

Provided Methods§

Source

fn compact(conversation: Conversation) -> Self

Hosts that store messages individually can override this to update them in place.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§