forked from phoenix/litellm-mirror
fix docs
This commit is contained in:
parent
28243b1a0a
commit
5087564923
1 changed files with 7 additions and 0 deletions
|
@ -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
|
Here's what an example response looks like
|
||||||
```python
|
```python
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue