summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 11:40:17 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 11:40:17 +0200
commite43f95d4df053e7758d28ff53b9c5770df94e1ee (patch)
treea70408d0031d1dde9541971c39debc9229421228 /docs
parentUpdated(g4f/Provider/Blackbox.py) (diff)
downloadgpt4free-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')
-rw-r--r--docs/async_client.md5
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](/)