This commit is contained in:
ishaan-jaff 2023-09-23 12:23:20 -07:00
parent f6c414f70d
commit 8198d4f520

View file

@ -120,7 +120,7 @@ response = completion(
</Tabs>
### [Supported Providers 100+ LLMs](./providers)
## Streaming
Set `stream=True` in the `completion` args.
@ -238,10 +238,6 @@ response = completion(
</Tabs>
More details 👉
* [streaming + async](./completion/stream.md)
* [tutorial for streaming Llama2 on TogetherAI](./tutorials/TogetherAI_liteLLM.md)
## Exception handling
LiteLLM maps exceptions across all supported providers to the OpenAI exceptions. All our exceptions inherit from OpenAI's exception types, so any error-handling you have for that, should work out of the box with LiteLLM.