Update README.md

This commit is contained in:
Krish Dholakia 2023-10-21 14:45:31 -07:00 committed by GitHub
parent 9182c569c0
commit 76a5f38ec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ print(response)
## Streaming ([Docs](https://docs.litellm.ai/docs/completion/stream))
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
Streaming is supported for all models (Bedrock, Huggingface, TogetherAI, Azure, OpenAI, etc.)
```python
response = completion(model="gpt-3.5-turbo", messages=messages, stream=True)
for chunk in response: