forked from phoenix/litellm-mirror
(docs) passing user_config to completion
This commit is contained in:
parent
bfae0fe935
commit
1efd1cb30f
1 changed files with 6 additions and 0 deletions
|
@ -251,6 +251,12 @@ print(query_result[:5])
|
||||||
### Pass User LLM API Keys, Fallbacks
|
### Pass User LLM API Keys, Fallbacks
|
||||||
Allows users to pass their model list, api base, OpenAI API key (any LiteLLM supported provider) to make requests
|
Allows users to pass their model list, api base, OpenAI API key (any LiteLLM supported provider) to make requests
|
||||||
|
|
||||||
|
:::info
|
||||||
|
|
||||||
|
**You can pass a litellm.RouterConfig as `user_config`, See all supported params here https://github.com/BerriAI/litellm/blob/main/litellm/types/router.py **
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
|
|
||||||
<TabItem value="openai-py" label="OpenAI Python">
|
<TabItem value="openai-py" label="OpenAI Python">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue