ProviderRequestExt

Trait ProviderRequestExt 

Source
pub trait ProviderRequestExt {
    type InputMessage: Serialize;

    // Required methods
    fn get_input_messages(&self) -> Vec<Self::InputMessage>;
    fn get_system_prompt(&self) -> Option<String>;
    fn get_model_name(&self) -> String;
    fn get_prompt(&self) -> Option<String>;
}

Required Associated Types§

Required Methods§

Implementors§