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

XFEstudio/gpt4free

Update client.md

2cd863f5
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -2
Modified docs/client.md +2 -2
@@ -17,7 +17,7 @@ from openai import OpenAI
17 17
18 18 New Import:
19 19 ```python
20 from g4f.client import Client
20 from g4f.client import Client as OpenAI
21 21 ```
22 22
23 23 The G4F Client maintains the same API interface as OpenAI, ensuring a seamless transition.
@@ -28,7 +28,7 @@ To use the G4F Client, create an instance with customized providers:
28 28
29 29 ```python
30 30 from g4f.client import Client
31 from g4f.providers import BingCreateImages, OpenaiChat, Gemini
31 from g4f.Provider import BingCreateImages, OpenaiChat, Gemini
32 32
33 33 client = Client(
34 34 text_provider=OpenaiChat,