XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Updated(docs/client.md)

dd17d5ac
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -2
Modified docs/client.md +2 -2
@@ -171,17 +171,17 @@ response = client.chat.completions.create(
171 171 )
172 172 print(response.choices[0].message.content)
173 173 ```
174
174 175 ```
175 176 User: What are on this image?
176 177 ```
177 ![Waterfall](/docs/waterfall.jpeg)
178 178
179 ![Waterfall](/docs/waterfall.jpeg)
179 180 ```
180 181 Bot: There is a waterfall in the middle of a jungle. There is a rainbow over...
181 182 ```
182 183
183 184 ### Example: Using a Vision Model
184
185 185 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.
186 186
187 187 ```python