summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorCamdyn Hamilton <c02hamil@gmail.com>2024-05-03 17:06:01 +0200
committerCamdyn Hamilton <c02hamil@gmail.com>2024-05-03 17:06:01 +0200
commit7d2d81f33aa142c4c05de3a9208ab26ea029a739 (patch)
treee7cfdea025eb6810fbb4b6fa207e0463d485bd38 /docs
parentMerge pull request #1916 from odhyp/docs/fix-typo (diff)
downloadgpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.tar
gpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.tar.gz
gpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.tar.bz2
gpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.tar.lz
gpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.tar.xz
gpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.tar.zst
gpt4free-7d2d81f33aa142c4c05de3a9208ab26ea029a739.zip
Diffstat (limited to '')
-rw-r--r--docs/guides/create_provider.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guides/create_provider.md b/docs/guides/create_provider.md
index e2e1ab6a..2be12735 100644
--- a/docs/guides/create_provider.md
+++ b/docs/guides/create_provider.md
@@ -12,7 +12,7 @@ python -m etc.tool.create_provider
#### Create Provider
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!
-2. Create a new file in [g4f/Provider](/g4f/Provider) with the name of the Provider
+2. Create a new file in [g4f/Provider](/g4f/Provider) with the name of the Provider.
3. Implement a class that extends [BaseProvider](/g4f/providers/base_provider.py).
```py
@@ -38,7 +38,7 @@ class HogeService(AsyncGeneratorProvider):
```
4. Here, you can adjust the settings, for example, if the website does support streaming, set `supports_stream` to `True`...
-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
+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.
6. Add the Provider Import in [`g4f/Provider/__init__.py`](./g4f/Provider/__init__.py)
```py