Skip to main content
Unify Documentation home page
Search...
⌘K
Contact
Console
Console
Search...
Navigation
utils
get_model_alias
Walkthrough
Python
REST API
logging
universal_api
casting
chatbot
clients
endpoints
utils
get_model_alias
register_model_alias_map
types
usage
utils
utils
assistants
utils
get_model_alias
Copy
Ask AI
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.
Unify
register_model_alias_map
⌘I