Trait CreateBatch

Source
pub trait CreateBatch: Send + Sync {
    type Error;

    // Required method
    fn create_batch<'life0, 'life1, 'async_trait>(
        &'life0 self,
        input_file_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Batch, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn create_batch<'life0, 'life1, 'async_trait>( &'life0 self, input_file_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Batch, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl<E: Debug> CreateBatch for Arc<dyn LanguageModelClientInterface<E>>

Source§

type Error = E

Source§

fn create_batch<'life0, 'life1, 'async_trait>( &'life0 self, input_file_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Batch, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§