Skip to main content
def get_model_alias(endpoint: str) -> str:

source code

Get the alias for a model. If the model is not found, return the original model. Arguments:
  • endpoint - The endpoint of the model.