Update README.md

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

View file

@ -63,7 +63,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.
liteLLM supports streaming the model response back, pass `stream=True` to get a streaming iterator in response.
Streaming is supported for all models (Bedrock, Huggingface, TogetherAI, Azure, OpenAI, etc.)
```python
response = completion(model="gpt-3.5-turbo", messages=messages, stream=True)