Skip to main content

get_model

Function get_model 

Source
pub fn get_model(data: &Value) -> String
Expand description

Extract the model name from a JSON object. Common with most providers to have this top level attribute.