pub trait ModelsApi {
    // Required methods
    fn models_list(&self) -> ApiResult<Vec<Model>>;
    fn models_retrieve(&self, model_id: &str) -> ApiResult<Model>;
}

Required Methods§

source

fn models_list(&self) -> ApiResult<Vec<Model>>

Lists the currently available models, and provides basic information about each one such as the owner and availability.

source

fn models_retrieve(&self, model_id: &str) -> ApiResult<Model>

Retrieves a model instance, providing basic information about the model such as the owner and permissioning.

Implementors§