pub trait StorableEntity {
    // Required method
    fn get_metadata() -> Vec<(String, String)>;
}
Expand description

An entity that can be stored in an envelope.

Required Methods§

Implementors§

source§

impl<S> StorableEntity for llm_chain::chains::map_reduce::Chain<S>where S: Step + StorableEntity,

Implements the StorableEntity trait for the Chain struct.

This implementation provides a method for extracting metadata from a Chain instance, in order to identify it

source§

impl<S: Step + StorableEntity> StorableEntity for llm_chain::chains::sequential::Chain<S>