diff --git a/docs/my-website/docs/completion/output.md b/docs/my-website/docs/completion/output.md index c6884487b..334bfab73 100644 --- a/docs/my-website/docs/completion/output.md +++ b/docs/my-website/docs/completion/output.md @@ -24,6 +24,13 @@ Here's the exact json output and type you can expect from all litellm `completio ``` +You can access the response as a dictionary or as a class object, just as OpenAI allows you +```python +print(response.choices[0].message.content) +print(response['choices'][0]['message']['content']) + +``` + Here's what an example response looks like ```python {