ElonGates commited on
Commit
aefb748
·
1 Parent(s): 0ae0268

Readme for cocalc

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -27,6 +27,7 @@ This repository provides reverse-engineered language models from various sources
27
  - [`ora`](#example-ora)
28
  - [`writesonic`](#example-writesonic)
29
  - [`you`](#example-you)
 
30
 
31
  ## Current Sites <a name="current-sites"></a>
32
 
@@ -38,6 +39,7 @@ This repository provides reverse-engineered language models from various sources
38
  | [t3nsor.com](https://t3nsor.com)|GPT-3.5|
39
  | [you.com](https://you.com)|GPT-3.5 / Internet / good search|
40
  | [phind.com](https://phind.com)|GPT-4 / Internet / good search|
 
41
 
42
  ## Sites with Authentication <a name="sites-with-authentication"></a>
43
 
@@ -306,6 +308,19 @@ while True:
306
  chat.append({"question": prompt, "answer": response["response"]})
307
  ```
308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  ## Dependencies
310
 
311
  The repository is written in Python and requires the following packages:
 
27
  - [`ora`](#example-ora)
28
  - [`writesonic`](#example-writesonic)
29
  - [`you`](#example-you)
30
+ - [`cocalc`](#example-cocalc)
31
 
32
  ## Current Sites <a name="current-sites"></a>
33
 
 
39
  | [t3nsor.com](https://t3nsor.com)|GPT-3.5|
40
  | [you.com](https://you.com)|GPT-3.5 / Internet / good search|
41
  | [phind.com](https://phind.com)|GPT-4 / Internet / good search|
42
+ | [cocalc.com](https://cocalc.com)|GPT-3.5 / Unknown Internet|
43
 
44
  ## Sites with Authentication <a name="sites-with-authentication"></a>
45
 
 
308
  chat.append({"question": prompt, "answer": response["response"]})
309
  ```
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
+
324
  ## Dependencies
325
 
326
  The repository is written in Python and requires the following packages: