module RubyLLM::Providers::Bedrock::Capabilities

def humanize(id)

Returns:
  • (String) - the humanized model name

Parameters:
  • id (String) -- the model identifier
def humanize(id)
  id.tr('-', ' ')
    .split('.')
    .last
    .split
    .map(&:capitalize)
    .join(' ')
end