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

XFEstudio/gpt4free

Added missing periods.

7d2d81f3
Camdyn Hamilton <c02hamil@gmail.com>
提交于

代码差异

1 个文件 +2 -2
Modified docs/guides/create_provider.md +2 -2
@@ -12,7 +12,7 @@ python -m etc.tool.create_provider
12 12 #### Create Provider
13 13
14 14 1. Check out the current [list of potential providers](https://github.com/zukixa/cool-ai-stuff#ai-chat-websites), or find your own provider source!
15 2. Create a new file in [g4f/Provider](/g4f/Provider) with the name of the Provider
15 2. Create a new file in [g4f/Provider](/g4f/Provider) with the name of the Provider.
16 16 3. Implement a class that extends [BaseProvider](/g4f/providers/base_provider.py).
17 17
18 18 ```py
@@ -38,7 +38,7 @@ class HogeService(AsyncGeneratorProvider):
38 38 ```
39 39
40 40 4. Here, you can adjust the settings, for example, if the website does support streaming, set `supports_stream` to `True`...
41 5. Write code to request the provider in `create_async_generator` and `yield` the response, _even if_ it's a one-time response, do not hesitate to look at other providers for inspiration
41 5. Write code to request the provider in `create_async_generator` and `yield` the response, _even if_ it's a one-time response, do not hesitate to look at other providers for inspiration.
42 42 6. Add the Provider Import in [`g4f/Provider/__init__.py`](./g4f/Provider/__init__.py)
43 43
44 44 ```py