diff --git a/README.md b/README.md index 5a7aa3fed..b14f2d666 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ LiteLLM manages - Translating inputs to the provider's completion and embedding endpoints - Guarantees [consistent output](https://litellm.readthedocs.io/en/latest/output/), text responses will always be available at `['choices'][0]['message']['content']` - Exception mapping - common exceptions across providers are mapped to the [OpenAI exception types](https://help.openai.com/en/articles/6897213-openai-library-error-types-guidance) -# Usage -## Quick Start +# usage + Open In Colab @@ -64,18 +64,20 @@ response = completion(model="gpt-3.5-turbo", messages=messages) # cohere call response = completion(model="command-nightly", messages) ``` -All LiteLLM users get a LiteLLM Dashboard - View logs + Add new LLMs on the dashboard - -Tutorial - -![pika-1692887776948-1x](https://github.com/BerriAI/litellm/assets/29436595/44f40714-abdc-4c53-9642-6ba3654209d5) Stable version ``` pip install litellm==0.1.424 ``` -## Streaming Queries + +# debugging +Debugging Dashboard 👉 https://docs.litellm.ai/docs/debugging/hosted_debugging + +![pika-1692887776948-1x](https://github.com/BerriAI/litellm/assets/29436595/44f40714-abdc-4c53-9642-6ba3654209d5) + + +## streaming liteLLM supports streaming the model response back, pass `stream=True` to get a streaming iterator in response. Streaming is supported for OpenAI, Azure, Anthropic, Huggingface models ```python @@ -89,8 +91,8 @@ for chunk in result: print(chunk['choices'][0]['delta']) ``` -# Support / talk with founders -- [Our calendar 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version) +# support / talk with founders +- [Schedule Demo 👋](https://calendly.com/d/4mp-gd3-k5k/berriai-1-1-onboarding-litellm-hosted-version) - [Community Discord 💭](https://discord.gg/wuPM9dRgDw) - Our numbers 📞 +1 (770) 8783-106 / ‭+1 (412) 618-6238‬ - Our emails ✉️ ishaan@berri.ai / krrish@berri.ai