Update README.md

This commit is contained in:
Krish Dholakia 2024-02-26 15:23:52 -08:00 committed by GitHub
parent 99b92c4b23
commit 2913c9525b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ response = completion(model="command-nightly", messages=messages)
print(response)
```
To call any model supported by a provider, just use `model=<provider_name>/<model_name>`. This way, LiteLLM will know which provider to route it to. There might be provider-specific details here (e.g. for vertex ai, any unmapped model is assumed to be a model garden endpoint). So refer to [provider docs for more information](https://docs.litellm.ai/docs/providers)
Call any model supported by a provider, with `model=<provider_name>/<model_name>`. There might be provider-specific details here, so refer to [provider docs for more information](https://docs.litellm.ai/docs/providers)
## Async ([Docs](https://docs.litellm.ai/docs/completion/stream#async-completion))