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

XFEstudio/gpt4free

Readme for cocalc

aefb7482
ElonGates <59313695+VilotStar@users.noreply.github.com>
提交于

代码差异

1 个文件 +15 -0
Modified README.md +15 -0
@@ -27,6 +27,7 @@ This repository provides reverse-engineered language models from various sources
27 27 - [`ora`](#example-ora)
28 28 - [`writesonic`](#example-writesonic)
29 29 - [`you`](#example-you)
30 - [`cocalc`](#example-cocalc)
30 31
31 32 ## Current Sites <a name="current-sites"></a>
32 33
@@ -38,6 +39,7 @@ This repository provides reverse-engineered language models from various sources
38 39 | [t3nsor.com](https://t3nsor.com)|GPT-3.5|
39 40 | [you.com](https://you.com)|GPT-3.5 / Internet / good search|
40 41 | [phind.com](https://phind.com)|GPT-4 / Internet / good search|
42 | [cocalc.com](https://cocalc.com)|GPT-3.5 / Unknown Internet|
41 43
42 44 ## Sites with Authentication <a name="sites-with-authentication"></a>
43 45
@@ -306,6 +308,19 @@ while True:
306 308 chat.append({"question": prompt, "answer": response["response"]})
307 309 ```
308 310
311 ### Example: `cocalc` (use like openai pypi package) <a name="example-cocalc"></a>
312
313 ```python
314 import cocalc
315
316 response = you.Completion.create(
317 prompt = "Hello World", # Required
318 system_prompt = "You are ChatGPT" # Optional
319 )
320
321 print(response) # Just text response
322 ```
323
309 324 ## Dependencies
310 325
311 326 The repository is written in Python and requires the following packages: