返回提交历史
Modified
README.md
+69
-50
Added
docker-compose.yml
+14
-0
XFEstudio/gpt4free
easy deployment with docker-compose
604c4092
代码差异
2 个文件
+83
-50
@@ -1,6 +1,5 @@
1
We got a takedown request by openAI's legal team...
1
discord server for updates / support:
2
2
3
discord server for updates / support:
4
3
- https://discord.gg/gpt4free
5
4
6
5
here is a lil' poem you can read in the meantime, while I am investigating it:
@@ -51,13 +50,13 @@ But for the boy's good, we hope results show.
51
50
For the cause of the True, the Brave and the Right,
52
51
Till the long bitter end, will this boy live to fight.
53
52
```
54
( I did not write it )
55
53
54
( I did not write it )
56
55
57
_____________________________
56
---
58
57
58
##### You may join our discord server for updates and support ; )
59
59
60
##### You may join our discord server for updates and support ; )
61
60
- [Discord Link](https://discord.gg/gpt4free)
62
61
63
62
<img width="1383" alt="image" src="https://user-images.githubusercontent.com/98614666/233799515-1a7cb6a3-b17f-42c4-956d-8d2a0664466f.png">
@@ -66,43 +65,42 @@ Just API's from some language model sites.
66
65
67
66
## Legal Notice <a name="legal-notice"></a>
68
67
69
This repository uses third-party APIs and is *not* associated with or endorsed by the API providers. This project is intended **for educational purposes only**. This is just a little personal project. Sites may contact me to improve their security.
68
This repository uses third-party APIs and is _not_ associated with or endorsed by the API providers. This project is intended **for educational purposes only**. This is just a little personal project. Sites may contact me to improve their security.
70
69
71
70
Please note the following:
72
71
73
1. **Disclaimer**: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is *not* claiming any right over them.
72
1. **Disclaimer**: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is _not_ claiming any right over them.
74
73
75
2. **Responsibility**: The author of this repository is *not* responsible for any consequences arising from the use or misuse of this repository or the content provided by the third-party APIs and any damage or losses caused by users' actions.
74
2. **Responsibility**: The author of this repository is _not_ responsible for any consequences arising from the use or misuse of this repository or the content provided by the third-party APIs and any damage or losses caused by users' actions.
76
75
77
76
3. **Educational Purposes Only**: This repository and its content are provided strictly for educational purposes. By using the information and code provided, users acknowledge that they are using the APIs and models at their own risk and agree to comply with any applicable laws and regulations.
78
77
79
80
78
## Table of Contents
81
| Section | Description | Link | Status |
82
| ------- | ----------- | ---- | ------ |
83
| **To do list** | List of tasks to be done | [](#todo) | - |
84
| **Current Sites** | Current websites or platforms that can be used as APIs | [](#current-sites) | - |
85
| **Best Sites for gpt4** | Recommended websites or platforms for gpt4 | [](#best-sites) | - |
86
| **Streamlit GPT4Free GUI** | Web-based graphical user interface for interacting with gpt4free | [](#streamlit-gpt4free-gui) | - |
87
| **Docker** | Instructions on how to run gpt4free in a Docker container | [](#docker-instructions) | - |
88
| **ChatGPT clone** | A ChatGPT clone with new features and scalability | [](https://chat.chatbot.sex/chat) | - |
89
| **How to install** | Instructions on how to install gpt4free | [](#install) | - |
90
| **Legal Notice** | Legal notice or disclaimer | [](#legal-notice) | - |
91
| **Copyright** | Copyright information | [](#copyright) | - |
92
| **Star History** | Star History | [](#star-history) | - |
93
| **Usage Examples** | | | |
94
| `theb` | Example usage for theb (gpt-3.5) | [](openai_rev/theb/README.md) |  |
95
| `forefront` | Example usage for forefront (gpt-4) | [](gpt4free/forefront/README.md) |  | ||
96
| `quora (poe)` | Example usage for quora | [](gpt4free/quora/README.md) |  |
97
| `you` | Example usage for you | [](gpt4free/you/README.md) |  |
98
| **Try it Out** | | | |
99
| Google Colab Jupyter Notebook | Example usage for gpt4free | [](https://colab.research.google.com/github/DanielShemesh/gpt4free-colab/blob/main/gpt4free.ipynb) | - |
100
| replit Example (feel free to fork this repl) | Example usage for gpt4free | [](https://replit.com/@gpt4free/gpt4free-webui) | - |
101
79
80
| Section | Description | Link | Status |
81
| -------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | --- | --- |
82
| **To do list** | List of tasks to be done | [](#todo) | - |
83
| **Current Sites** | Current websites or platforms that can be used as APIs | [](#current-sites) | - |
84
| **Best Sites for gpt4** | Recommended websites or platforms for gpt4 | [](#best-sites) | - |
85
| **Streamlit GPT4Free GUI** | Web-based graphical user interface for interacting with gpt4free | [](#streamlit-gpt4free-gui) | - |
86
| **Docker** | Instructions on how to run gpt4free in a Docker container | [](#docker-instructions) | - |
87
| **ChatGPT clone** | A ChatGPT clone with new features and scalability | [](https://chat.chatbot.sex/chat) | - |
88
| **How to install** | Instructions on how to install gpt4free | [](#install) | - |
89
| **Legal Notice** | Legal notice or disclaimer | [](#legal-notice) | - |
90
| **Copyright** | Copyright information | [](#copyright) | - |
91
| **Star History** | Star History | [](#star-history) | - |
92
| **Usage Examples** | | | |
93
| `theb` | Example usage for theb (gpt-3.5) | [](openai_rev/theb/README.md) |  |
94
| `forefront` | Example usage for forefront (gpt-4) | [](gpt4free/forefront/README.md) |  | | |
95
| `quora (poe)` | Example usage for quora | [](gpt4free/quora/README.md) |  |
96
| `you` | Example usage for you | [](gpt4free/you/README.md) |  |
97
| **Try it Out** | | | |
98
| Google Colab Jupyter Notebook | Example usage for gpt4free | [](https://colab.research.google.com/github/DanielShemesh/gpt4free-colab/blob/main/gpt4free.ipynb) | - |
99
| replit Example (feel free to fork this repl) | Example usage for gpt4free | [](https://replit.com/@gpt4free/gpt4free-webui) | - |
102
100
103
101
## Todo <a name="todo"></a>
104
102
105
- [x] Add a GUI for the repo
103
- [x] Add a GUI for the repo
106
104
- [ ] Make a general package named `gpt4free`, instead of different folders
107
105
- [ ] Live api status to know which are down and which can be used
108
106
- [ ] Integrate more API's in `./unfinished` as well as other ones in the lists
@@ -111,62 +109,82 @@ Please note the following:
111
109
112
110
## Current Sites <a name="current-sites"></a>
113
111
114
| Website s | Model(s) |
115
| ---------------------------------------------------- | ------------------------------- |
116
| [forefront.ai](https://chat.forefront.ai) | GPT-4/3.5 |
117
| [poe.com](https://poe.com) | GPT-4/3.5 |
118
| [writesonic.com](https://writesonic.com) | GPT-3.5 / Internet |
119
| [t3nsor.com](https://t3nsor.com) | GPT-3.5 |
120
| [you.com](https://you.com) | GPT-3.5 / Internet / good search|
121
| [sqlchat.ai](https://sqlchat.ai) | GPT-3.5 |
122
| [bard.google.com](https://bard.google.com) | custom / search |
123
| [bing.com/chat](https://bing.com/chat) | GPT-4/3.5 |
124
| [chat.forefront.ai/](https://chat.forefront.ai/) | GPT-4/3.5 |
112
| Website s | Model(s) |
113
| ------------------------------------------------ | -------------------------------- |
114
| [forefront.ai](https://chat.forefront.ai) | GPT-4/3.5 |
115
| [poe.com](https://poe.com) | GPT-4/3.5 |
116
| [writesonic.com](https://writesonic.com) | GPT-3.5 / Internet |
117
| [t3nsor.com](https://t3nsor.com) | GPT-3.5 |
118
| [you.com](https://you.com) | GPT-3.5 / Internet / good search |
119
| [sqlchat.ai](https://sqlchat.ai) | GPT-3.5 |
120
| [bard.google.com](https://bard.google.com) | custom / search |
121
| [bing.com/chat](https://bing.com/chat) | GPT-4/3.5 |
122
| [chat.forefront.ai/](https://chat.forefront.ai/) | GPT-4/3.5 |
125
123
126
## Best sites <a name="best-sites"></a>
124
## Best sites <a name="best-sites"></a>
127
125
128
126
#### gpt-4
127
129
128
- [`/forefront`](gpt4free/forefront/README.md)
130
129
131
130
#### gpt-3.5
131
132
132
- [`/you`](gpt4free/you/README.md)
133
133
134
## Install <a name="install"></a>
134
## Install <a name="install"></a>
135
135
136
Download or clone this GitHub repo
136
137
install requirements with:
138
137
139
```sh
138
140
pip3 install -r requirements.txt
139
141
```
140
142
141
143
## To start gpt4free GUI <a name="streamlit-gpt4free-gui"></a>
142
Move `streamlit_app.py` from `./gui` to the base folder
143
then run:
144
145
Move `streamlit_app.py` from `./gui` to the base folder
146
then run:
144
147
`streamlit run streamlit_app.py` or `python3 -m streamlit run streamlit_app.py`
145
148
146
149
## Docker <a name="docker-instructions"></a>
150
147
151
Build
152
148
153
```
149
154
docker build -t gpt4free:latest -f Docker/Dockerfile .
150
155
```
156
151
157
Run
158
152
159
```
153
160
docker run -p 8501:8501 gpt4free:latest
154
161
```
155
162
163
## Deploy using docker-compose
164
165
Run the following:
166
167
```
168
docker-compose up -d
169
```
170
156
171
## ChatGPT clone
157
> currently implementing new features and trying to scale it, please be patient it may be unstable
172
173
> currently implementing new features and trying to scale it, please be patient it may be unstable
158
174
> https://chat.chatbot.sex/chat
159
> This site was developed by me and includes **gpt-4/3.5**, **internet access** and **gpt-jailbreak's** like DAN
175
> This site was developed by me and includes **gpt-4/3.5**, **internet access** and **gpt-jailbreak's** like DAN
160
176
> run locally here: https://github.com/xtekky/chatgpt-clone
161
177
162
## Copyright:
163
This program is licensed under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.txt)
178
## Copyright:
179
180
This program is licensed under the [GNU GPL v3](https://www.gnu.org/licenses/gpl-3.0.txt)
164
181
165
182
Most code, with the exception of `quora/api.py` (by [ading2210](https://github.com/ading2210)), has been written by me, [xtekky](https://github.com/xtekky).
166
183
167
184
### Copyright Notice: <a name="copyright"></a>
185
168
186
```
169
xtekky/gpt4free: multiple reverse engineered language-model api's to decentralise the ai industry.
187
xtekky/gpt4free: multiple reverse engineered language-model api's to decentralise the ai industry.
170
188
Copyright (C) 2023 xtekky
171
189
172
190
This program is free software: you can redistribute it and/or modify
@@ -184,4 +202,5 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
184
202
```
185
203
186
204
## Star History <a name="star-history"></a>
205
187
206
[](https://star-history.com/#xtekky/gpt4free)
@@ -0,0 +1,14 @@
1
version: '3.8'
2
3
services:
4
gpt4:
5
build:
6
context: .
7
dockerfile: Dockerfile
8
image: gpt4free:latest
9
container_name: gpt4
10
ports:
11
- 127.0.0.1:8501:8501
12
restart: unless-stopped
13
read_only: true
14