This commit is contained in:
ishaan-jaff 2023-08-17 13:42:29 -07:00
parent 28243b1a0a
commit 5087564923

View file

@ -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
{