forked from phoenix/litellm-mirror
Update README.md
This commit is contained in:
parent
00fb7b083d
commit
2847f9d754
1 changed files with 10 additions and 5 deletions
15
README.md
15
README.md
|
@ -10,6 +10,16 @@ litellm manages:
|
||||||
- translating inputs to completion and embedding endpoints
|
- translating inputs to completion and embedding endpoints
|
||||||
- guarantees consistent output, text responses will always be available at `['choices'][0]['message']['content']`
|
- guarantees consistent output, text responses will always be available at `['choices'][0]['message']['content']`
|
||||||
# usage
|
# usage
|
||||||
|
## installation
|
||||||
|
```
|
||||||
|
pip install litellm
|
||||||
|
```
|
||||||
|
|
||||||
|
Stable version
|
||||||
|
```
|
||||||
|
pip install litellm==0.1.1
|
||||||
|
```
|
||||||
|
|
||||||
* Code Sample: [Getting Started Notebook](https://colab.research.google.com/drive/1gR3pY-JzDZahzpVdbGBtrNGDBmzUNJaJ?usp=sharing)
|
* Code Sample: [Getting Started Notebook](https://colab.research.google.com/drive/1gR3pY-JzDZahzpVdbGBtrNGDBmzUNJaJ?usp=sharing)
|
||||||
```python
|
```python
|
||||||
from litellm import completion
|
from litellm import completion
|
||||||
|
@ -30,11 +40,6 @@ response = completion("command-nightly", messages)
|
||||||
response = completion("chatgpt-test", messages, azure=True)
|
response = completion("chatgpt-test", messages, azure=True)
|
||||||
```
|
```
|
||||||
|
|
||||||
# installation
|
|
||||||
```
|
|
||||||
pip install litellm
|
|
||||||
```
|
|
||||||
|
|
||||||
# hosted version
|
# hosted version
|
||||||
- [Grab time if you want access 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version)
|
- [Grab time if you want access 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue