返回提交历史
Modified
README.md
+8
-8
XFEstudio/gpt4free
Update README.md
6aeb1cb4
代码差异
1 个文件
+8
-8
@@ -6,7 +6,7 @@ Written by [@xtekky](https://github.com/hlohaus) & maintained by [@hlohaus](http
6
6
> By using this repository or any code related to it, you agree to the [legal notice](LEGAL_NOTICE.md). The author is **not responsible for the usage of this repository nor endorses it**, nor is the author responsible for any copies, forks, re-uploads made by other users, or anything else related to GPT4Free. This is the author's only account and repository. To prevent impersonation or irresponsible actions, please comply with the GNU GPL license this Repository uses.
7
7
8
8
> [!Warning]
9
*"gpt4free"* serves as a **PoC** (proof of concept), demonstrating the development of a an api package with multi-provider requests, with features like timeouts, load balance and flow control.
9
*"gpt4free"* serves as a **PoC** (proof of concept), demonstrating the development of an API package with multi-provider requests, with features like timeouts, load balance and flow control.
10
10
11
11
> [!Note]
12
12
<sup><strong>Lastet version:</strong></sup> [](https://pypi.org/project/g4f) [](https://hub.docker.com/r/hlohaus789/g4f)
@@ -28,21 +28,21 @@ docker pull hlohaus789/g4f
28
28
- Join our Discord Group: [discord.gg/XfybzPXPH5](https://discord.gg/XfybzPXPH5)
29
29
30
30
## 🔻 Site Takedown
31
Is your site on this repository and you want to take it down ? email takedown@g4f.ai with proof it is yours and it will be removed as fast as possible. - to prevent reproduction please secure your api ; )
31
Is your site on this repository and you want to take it down? Send an email to takedown@g4f.ai with proof it is yours and it will be removed as fast as possible. To prevent reproduction please secure your API ;)
32
32
33
33
## 🚀 Feedback and Todo
34
34
You can always leave some feedback here: https://forms.gle/FeWV9RLEedfdkmFN6
35
35
36
36
As per the survey, here is a list of improvements to come
37
- [x] update the repository to include the new openai library syntax (ex: `Openai()` class) | completed, use `g4f.client.Client`
38
- [ ] golang implementation
39
- [ ] 🚧 Improve Documentation (in /docs & Guides, Howtos, & Do video tutorials
37
- [x] Update the repository to include the new openai library syntax (ex: `Openai()` class) | completed, use `g4f.client.Client`
38
- [ ] Golang implementation
39
- [ ] 🚧 Improve Documentation (in /docs & Guides, Howtos, & Do video tutorials)
40
40
- [x] Improve the provider status list & updates
41
41
- [ ] Tutorials on how to reverse sites to write your own wrapper (PoC only ofc)
42
42
- [ ] Improve the Bing wrapper. (might write a new wrapper in golang as it is very fast)
43
43
- [ ] Write a standard provider performance test to improve the stability
44
44
- [ ] Potential support and development of local models
45
- [ ] 🚧 improve compatibility and error handling
45
- [ ] 🚧 Improve compatibility and error handling
46
46
47
47
## 📚 Table of Contents
48
48
@@ -90,7 +90,7 @@ docker pull hlohaus789/g4f
90
90
docker run -p 8080:8080 -p 1337:1337 -p 7900:7900 --shm-size="2g" hlohaus789/g4f:latest
91
91
```
92
92
3. Open the included client on: [http://localhost:8080/chat/](http://localhost:8080/chat/)
93
or set the api base in your client to: [http://localhost:1337/v1](http://localhost:1337/v1)
93
or set the API base in your client to: [http://localhost:1337/v1](http://localhost:1337/v1)
94
94
4. (Optional) If you need to log in to a provider, you can view the desktop from the container here: http://localhost:7900/?autoconnect=1&resize=scale&password=secret.
95
95
96
96
##### Use your smartphone:
@@ -191,7 +191,7 @@ See: [/docs/interference](/docs/interference.md)
191
191
192
192
##### Cookies / Access Token
193
193
194
For generating images with Bing and for the OpenAi Chat you need cookies or a token from your browser session. From Bing you need the "_U" cookie and from OpenAI you need the "access_token". You can pass the cookies / the access token in the create function or you use the `set_cookies` setter before you run G4F:
194
For generating images with Bing and for the OpenAI Chat you need cookies or a token from your browser session. From Bing you need the "_U" cookie and from OpenAI you need the "access_token". You can pass the cookies / the access token in the create function or you use the `set_cookies` setter before you run G4F:
195
195
196
196
```python
197
197
from g4f.cookies import set_cookies