openai_api_for_model

Function openai_api_for_model 

Source
pub fn openai_api_for_model(model_id: &str) -> OpenAiApi
Expand description

Select the OpenAI inference API to use for the supplied model id.