summaryrefslogtreecommitdiffstats
path: root/docs/client.md
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 11:41:32 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-15 11:41:32 +0200
commitdd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27 (patch)
tree275bc3d28d20980db4ddb83ccf1250ae715d5c82 /docs/client.md
parentUpdated(docs/async_client.md) (diff)
downloadgpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.tar
gpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.tar.gz
gpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.tar.bz2
gpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.tar.lz
gpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.tar.xz
gpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.tar.zst
gpt4free-dd17d5aca8b9a996830cd1d53ad9c1d2bfdf4e27.zip
Diffstat (limited to 'docs/client.md')
-rw-r--r--docs/client.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/client.md b/docs/client.md
index 4273d9d9..5e6b79ba 100644
--- a/docs/client.md
+++ b/docs/client.md
@@ -171,17 +171,17 @@ response = client.chat.completions.create(
)
print(response.choices[0].message.content)
```
+
```
User: What are on this image?
```
-![Waterfall](/docs/waterfall.jpeg)
+![Waterfall](/docs/waterfall.jpeg)
```
Bot: There is a waterfall in the middle of a jungle. There is a rainbow over...
```
### Example: Using a Vision Model
-
The following code snippet demonstrates how to use a vision model to analyze an image and generate a description based on the content of the image. This example shows how to fetch an image, send it to the model, and then process the response.
```python