forked from phoenix/litellm-mirror
updating model alias docs
This commit is contained in:
parent
025e757e3b
commit
b9964154d3
1 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,15 @@ The model name you show an end-user might be different from the one you pass to
|
||||||
|
|
||||||
LiteLLM simplifies this by letting you pass in a model alias mapping.
|
LiteLLM simplifies this by letting you pass in a model alias mapping.
|
||||||
|
|
||||||
|
# expected format
|
||||||
|
|
||||||
|
```
|
||||||
|
litellm.model_alias_map = {
|
||||||
|
# a dictionary containing a mapping of the alias string to the actual litellm model name string
|
||||||
|
"model_alias": "litellm_model_name"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
# usage
|
# usage
|
||||||
|
|
||||||
### Relevant Code
|
### Relevant Code
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue