mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
docs using litellm sdk with litellm proxy
This commit is contained in:
parent
68bb735b3b
commit
6d61c396b3
2 changed files with 6 additions and 4 deletions
|
|
@ -3,15 +3,14 @@ import TabItem from '@theme/TabItem';
|
|||
|
||||
# LiteLLM Proxy (LLM Gateway)
|
||||
|
||||
|
||||
**[LiteLLM Proxy](../simple_proxy) is OpenAI compatible**, you just need the `openai/` prefix before the model
|
||||
|
||||
:::tip
|
||||
|
||||
[LiteLLM Providers a **self hosted** proxy server (AI Gateway)](../simple_proxy) to call all the LLMs in the OpenAI format
|
||||
|
||||
:::
|
||||
|
||||
**[LiteLLM Proxy](../simple_proxy) is OpenAI compatible**, you just need the `openai/` prefix before the model
|
||||
|
||||
## Required Variables
|
||||
|
||||
```python
|
||||
|
|
@ -87,4 +86,4 @@ for chunk in response:
|
|||
|
||||
## **Usage with Langchain, LLamaindex, OpenAI Js, Anthropic SDK, Instructor**
|
||||
|
||||
[Follow this doc to see how to use litellm proxy with langchain, llamaindex, anthropic etc](../proxy/user_keys)
|
||||
#### [Follow this doc to see how to use litellm proxy with langchain, llamaindex, anthropic etc](../proxy/user_keys)
|
||||
|
|
@ -810,6 +810,9 @@ print(result)
|
|||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## Using with Vertex, Boto3, Anthropic SDK (Native format)
|
||||
|
||||
👉 **[Here's how to use litellm proxy with Vertex, boto3, Anthropic SDK - in the native format](../pass_through/vertex_ai.md)**
|
||||
|
||||
## Advanced
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue