format_openai_model_name

Function format_openai_model_name 

Source
pub fn format_openai_model_name(id: &str) -> String
Expand description

Format an OpenAI model ID to a human-readable name.

ยงExamples

  • gpt-4o โ†’ GPT-4o
  • gpt-4o-mini โ†’ GPT-4o Mini
  • gpt-3.5-turbo โ†’ GPT-3.5 Turbo