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

XFEstudio/gpt4free

Updated(docs/client.md)

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

代码差异

1 个文件 +1 -2
Modified docs/client.md +1 -2
@@ -61,8 +61,8 @@ You can use the `ChatCompletions` endpoint to generate text completions as follo
61 61
62 62 ```python
63 63 from g4f.client import Client
64 client = Client()
65 64
65 client = Client()
66 66 response = client.chat.completions.create(
67 67 model="gpt-3.5-turbo",
68 68 messages=[{"role": "user", "content": "Say this is a test"}],
@@ -77,7 +77,6 @@ Also streaming are supported:
77 77 from g4f.client import Client
78 78
79 79 client = Client()
80
81 80 stream = client.chat.completions.create(
82 81 model="gpt-4",
83 82 messages=[{"role": "user", "content": "Say this is a test"}],