Trait llm_chain::serialization::StorableEntity
source · pub trait StorableEntity {
// Required method
fn get_metadata() -> Vec<(String, String)>;
}
Expand description
An entity that can be stored in an envelope.
Required Methods§
fn get_metadata() -> Vec<(String, String)>
Implementors§
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