Update README.md

This commit is contained in:
Krish Dholakia 2023-10-23 11:45:51 -07:00 committed by GitHub
parent 07b2dec580
commit 5ee77fa5b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,6 @@
A simple, fast, and lightweight **OpenAI-compatible server** to call 100+ LLM APIs. A simple, fast, and lightweight **OpenAI-compatible server** to call 100+ LLM APIs.
## Endpoints:
- `/chat/completions` - chat completions endpoint to call 100+ LLMs
- `/models` - available models on server
<p align="center" style="margin: 2%"> <p align="center" style="margin: 2%">
<a href="https://render.com/deploy?repo=https://github.com/BerriAI/litellm" target="_blank"> <a href="https://render.com/deploy?repo=https://github.com/BerriAI/litellm" target="_blank">
<img src="https://render.com/images/deploy-to-render-button.svg" width="173"/> <img src="https://render.com/images/deploy-to-render-button.svg" width="173"/>
@ -28,6 +24,10 @@ $ cd ./litellm/openai-proxy
$ uvicorn main:app --host 0.0.0.0 --port 8000 $ uvicorn main:app --host 0.0.0.0 --port 8000
``` ```
## Endpoints:
- `/chat/completions` - chat completions endpoint to call 100+ LLMs
- `/models` - available models on server
## replace openai base ## replace openai base
```python ```python
import openai import openai