diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-15 11:40:17 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-15 11:40:17 +0200 |
commit | e43f95d4df053e7758d28ff53b9c5770df94e1ee (patch) | |
tree | a70408d0031d1dde9541971c39debc9229421228 /docs/async_client.md | |
parent | Updated(g4f/Provider/Blackbox.py) (diff) | |
download | gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.tar gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.tar.gz gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.tar.bz2 gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.tar.lz gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.tar.xz gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.tar.zst gpt4free-e43f95d4df053e7758d28ff53b9c5770df94e1ee.zip |
Diffstat (limited to 'docs/async_client.md')
-rw-r--r-- | docs/async_client.md | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/async_client.md b/docs/async_client.md index 34ee8018..a3f773fa 100644 --- a/docs/async_client.md +++ b/docs/async_client.md @@ -72,7 +72,6 @@ async def main(): print(response.choices[0].message.content) asyncio.run(main()) - ``` ### Streaming Completions @@ -97,7 +96,6 @@ async def main(): print(chunk.choices[0].delta.content or "", end="") asyncio.run(main()) - ``` In this example: @@ -130,7 +128,6 @@ async def main(): print(response.choices[0].message.content) asyncio.run(main()) - ``` ### Image Generation: @@ -152,7 +149,6 @@ async def main(): print(f"Generated image URL: {image_url}") asyncio.run(main()) - ``` #### Base64 as the response format @@ -208,7 +204,6 @@ async def main(): print(image_url) asyncio.run(main()) - ``` [Return to Home](/) |