diff --git a/docs/my-website/docs/batches.md b/docs/my-website/docs/batches.md index 4918e30d1fd..7029697699c 100644 --- a/docs/my-website/docs/batches.md +++ b/docs/my-website/docs/batches.md @@ -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",