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

XFEstudio/gpt4free

important note

24f10a3f
t.me/xtekky <98614666+xtekky@users.noreply.github.com>
提交于

代码差异

1 个文件 +65 -29
Modified README.md +65 -29
@@ -1,42 +1,59 @@
1 # Free LLM Api's
1 # Free LLM APIs
2 2
3 **Important:** If you come across any website offering free language models, please create an issue or submit a pull request with the details. We will reverse engineer it and add it to this repository.
3 This repository provides reverse-engineered language models from various sources. Some of these models are already available in the repo, while others are currently being worked on.
4 4
5 This repository contains reverse engineered language models from various sources. Some of these models are already available in the repo, while others are currently being worked on.
5 > **Important:** If you come across any website offering free language models, please create an issue or submit a pull request with the details. We will reverse engineer it and add it to this repository.
6 6
7 ### Current Sites (No Authentication / Easy Account Creation)
7 ## Table of Contents
8 8
9 - [ora.sh](https://ora.sh) (GPT-3.5)
10 - [nat.dev](https://nat.dev) (Paid now, looking for bypass) (GPT-4/3.5)
11 - [poe.com](https://poe.com) (GPT-4/3.5)
12 - [writesonic.com](https://writesonic.com) (GPT-3.5 / Internet)
13 - [t3nsor.com](https://t3nsor.com) (GPT-3.5)
9 - [Current Sites (No Authentication / Easy Account Creation)](#current-sites)
10 - [Sites with Authentication (Will Reverse Engineer but Need Account Access)](#sites-with-authentication)
11 - [Usage Examples](#usage-examples)
12 - [`poe`](#example-poe)
13 - [`t3nsor`](#example-t3nsor)
14 - [`ora`](#example-ora)
14 15
15 ### Sites with Authentication (Will Reverse Engineer but Need Account Access)
16 ## Current Sites <a name="current-sites"></a>
16 17
17 - [chat.openai.com/chat](https://chat.openai.com/chat)
18 - [bard.google.com](https://bard.google.com)
19 - [bing.com/chat](https://bing.com/chat)
18 | Website | Model(s) |
19 | -------------------------- | -------------------- |
20 | [ora.sh](https://ora.sh) | GPT-3.5 |
21 | [nat.dev](https://nat.dev) | GPT-4/3.5 (paid now, looking for bypass)|
22 | [poe.com](https://poe.com) | GPT-4/3.5 |
23 | [writesonic.com](https://writesonic.com)|GPT-3.5 / Internet|
24 |[t3nsor.com](https://t3nsor.com)|GPT-3.5|
20 25
21 ### `poe` (use like openai pypi package) - gpt-4
26 ## Sites with Authentication <a name="sites-with-authentication"></a>
22 27
23 Import poe:
28 These sites will be reverse engineered but need account access:
29
30 * [chat.openai.com/chat](https://chat.openai.com/chat)
31 * [bard.google.com](https://bard.google.com)
32 * [bing.com/chat](https://bing.com/chat)
33
34 ## Usage Examples <a name="usage-examples"></a>
35
36 ### Example: `poe` (use like openai pypi package) - GPT-4 <a name="example-poe"></a>
24 37
25 38 ```python
39 # Import poe
26 40 import poe
27 41
28 42 # poe.Account.create
29 43 # poe.Completion.create
30 44 # poe.StreamCompletion.create
45
46 [...]
47
31 48 ```
32 49
33 Create Token (3-6s)
50 #### Create Token (3-6s)
34 51 ```python
35 52 token = poe.Account.create(logging = True)
36 53 print('token', token)
37 54 ```
38 55
39 Streaming Response
56 #### Streaming Response
40 57 ```python
41 58
42 59 for response in poe.StreamingCompletion.create(model = 'gpt-4',
@@ -46,7 +63,7 @@ for response in poe.StreamingCompletion.create(model = 'gpt-4',
46 63 print(response.completion.choices[0].text, end="", flush=True)
47 64 ```
48 65
49 Normal Response:
66 #### Normal Response:
50 67 ```python
51 68
52 69 response = poe.Completion.create(model = 'gpt-4',
@@ -58,21 +75,20 @@ print(response.completion.choices[0].text)
58 75
59 76
60 77
61
62
63
64 ### `t3nsor` (use like openai pypi package)
65
66 Import t3nsor:
78 ### Example: `t3nsor` (use like openai pypi package) <a name="example-t3nsor"></a>
67 79
68 80 ```python
81 # Import t3nsor
69 82 import t3nsor
70 83
71 84 # t3nsor.Completion.create
72 85 # t3nsor.StreamCompletion.create
86
87 [...]
88
73 89 ```
74 90
75 Example Chatbot
91 #### Example Chatbot
76 92 ```python
77 93 messages = []
78 94
@@ -92,7 +108,7 @@ while True:
92 108 ])
93 109 ```
94 110
95 Streaming Response:
111 #### Streaming Response:
96 112
97 113 ```python
98 114 for response in t3nsor.StreamCompletion.create(
@@ -102,9 +118,17 @@ for response in t3nsor.StreamCompletion.create(
102 118 print(response.completion.choices[0].text)
103 119 ```
104 120
105 ### `ora` (use like openai pypi package)
121 ### Example: `ora` (use like openai pypi package) <a name="example-ora"></a>
106 122
107 example:
123 ```python
124 # import ora
125 import ora
126
127 [...]
128
129 ```
130
131 #### create model / chatbot:
108 132 ```python
109 133 # inport ora
110 134 import ora
@@ -134,9 +158,21 @@ while True:
134 158 print(response.completion.choices[0].text)
135 159 ```
136 160
161 ## Dependencies
137 162
163 The repository is written in Python and requires the following packages:
138 164
165 * websocket-client
166 * requests
167 * tls-client
139 168
169 You can install these packages using the provided `requirements.txt` file.
140 170
171 ## Repository structure:
141 172
142
173 .
174 ├── ora/
175 ├── poe/
176 ├── t3nsor/
177 ├── README.md <-- this file.
178 └── requirements.txt