mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
docs(model_management.md): adding docs on how to add model metadata in the config.yaml
This commit is contained in:
parent
67112ea81d
commit
f73c4b494c
1 changed files with 11 additions and 0 deletions
|
|
@ -1,6 +1,17 @@
|
|||
# Model Management
|
||||
Add new models + Get model info without restarting proxy.
|
||||
|
||||
## In Config.yaml
|
||||
|
||||
```yaml
|
||||
model_list:
|
||||
- model_name: text-davinci-003
|
||||
litellm_params:
|
||||
model: "text-completion-openai/text-davinci-003"
|
||||
model_info:
|
||||
metadata: "here's additional metadata on the model" # returned via GET /model/info
|
||||
```
|
||||
|
||||
## Get Model Information
|
||||
|
||||
Retrieve detailed information about each model listed in the `/models` endpoint, including descriptions from the `config.yaml` file, and additional model info (e.g. max tokens, cost per input token, etc.) pulled the model_info you set and the litellm model cost map. Sensitive details like API keys are excluded for security purposes.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue