mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Removed syntax error from docs (#11242)
This commit is contained in:
parent
368e59181d
commit
dd8d23be62
1 changed files with 4 additions and 2 deletions
|
|
@ -78,8 +78,9 @@ curl http://localhost:4000/v1/batches \
|
|||
**Create File for Batch Completion**
|
||||
|
||||
```python
|
||||
from litellm
|
||||
import litellm
|
||||
import os
|
||||
import asyncio
|
||||
|
||||
os.environ["OPENAI_API_KEY"] = "sk-.."
|
||||
|
||||
|
|
@ -97,8 +98,9 @@ print("Response from creating file=", file_obj)
|
|||
**Create Batch Request**
|
||||
|
||||
```python
|
||||
from litellm
|
||||
import litellm
|
||||
import os
|
||||
import asyncio
|
||||
|
||||
create_batch_response = await litellm.acreate_batch(
|
||||
completion_window="24h",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue