From b2b41884469b4bf3412637ffc2c23943c66e2b8f Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Tue, 15 Oct 2024 22:01:32 +0300 Subject: refactor(docs/async_client.md): use async_generate for image generation --- docs/async_client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/async_client.md b/docs/async_client.md index a3f773fa..f5ac5392 100644 --- a/docs/async_client.md +++ b/docs/async_client.md @@ -187,7 +187,7 @@ async def main(): model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Say this is a test"}], ) - task2 = client.images.generate( + task2 = client.images.async_generate( model="dall-e-3", prompt="a white siamese cat", ) -- cgit v1.2.3