t.me/xtekky commited on
Commit
3be905b
1 Parent(s): 633bcd8

rename poe api ( gpt 4 ) to quora

Browse files

due to having same name as poe-api, I changed the name for it to be used with the other package

Files changed (38) hide show
  1. README.md +12 -12
  2. {poe → quora}/__init__.py +10 -10
  3. {poe → quora}/api.py +0 -0
  4. {poe → quora}/cookies.txt +2 -0
  5. {poe → quora}/graphql/AddHumanMessageMutation.graphql +0 -0
  6. {poe → quora}/graphql/AddMessageBreakMutation.graphql +0 -0
  7. {poe → quora}/graphql/AutoSubscriptionMutation.graphql +0 -0
  8. {poe → quora}/graphql/BioFragment.graphql +0 -0
  9. {poe → quora}/graphql/ChatAddedSubscription.graphql +0 -0
  10. {poe → quora}/graphql/ChatFragment.graphql +0 -0
  11. {poe → quora}/graphql/ChatListPaginationQuery.graphql +0 -0
  12. {poe → quora}/graphql/ChatPaginationQuery.graphql +0 -0
  13. {poe → quora}/graphql/ChatViewQuery.graphql +0 -0
  14. {poe → quora}/graphql/DeleteHumanMessagesMutation.graphql +0 -0
  15. {poe → quora}/graphql/DeleteMessageMutation.graphql +0 -0
  16. {poe → quora}/graphql/HandleFragment.graphql +0 -0
  17. {poe → quora}/graphql/LoginWithVerificationCodeMutation.graphql +0 -0
  18. {poe → quora}/graphql/MessageAddedSubscription.graphql +0 -0
  19. {poe → quora}/graphql/MessageDeletedSubscription.graphql +0 -0
  20. {poe → quora}/graphql/MessageFragment.graphql +0 -0
  21. {poe → quora}/graphql/MessageRemoveVoteMutation.graphql +0 -0
  22. {poe → quora}/graphql/MessageSetVoteMutation.graphql +0 -0
  23. {poe → quora}/graphql/SendMessageMutation.graphql +0 -0
  24. {poe → quora}/graphql/SendVerificationCodeForLoginMutation.graphql +0 -0
  25. {poe → quora}/graphql/ShareMessagesMutation.graphql +0 -0
  26. {poe → quora}/graphql/SignupWithVerificationCodeMutation.graphql +0 -0
  27. {poe → quora}/graphql/StaleChatUpdateMutation.graphql +0 -0
  28. {poe → quora}/graphql/SubscriptionsMutation.graphql +0 -0
  29. {poe → quora}/graphql/SummarizePlainPostQuery.graphql +0 -0
  30. {poe → quora}/graphql/SummarizeQuotePostQuery.graphql +0 -0
  31. {poe → quora}/graphql/SummarizeSharePostQuery.graphql +0 -0
  32. {poe → quora}/graphql/UserSnippetFragment.graphql +0 -0
  33. {poe → quora}/graphql/ViewerInfoQuery.graphql +0 -0
  34. {poe → quora}/graphql/ViewerStateFragment.graphql +0 -0
  35. {poe → quora}/graphql/ViewerStateUpdatedSubscription.graphql +0 -0
  36. {poe → quora}/graphql/__init__.py +0 -0
  37. {poe → quora}/mail.py +0 -0
  38. {testing → quora}/poe_test.py +3 -3
README.md CHANGED
@@ -8,7 +8,7 @@ This repository provides reverse-engineered language models from various sources
8
 
9
  - [ ] implement poe.com create bot feature (4)
10
  - [ ] poe.com chat history management (3)
11
- - [ ] renaming the 'poe' module to 'quora' (2)
12
  - [x] add you.com api (1)
13
 
14
 
@@ -17,7 +17,7 @@ This repository provides reverse-engineered language models from various sources
17
  - [Current Sites (No Authentication / Easy Account Creation)](#current-sites)
18
  - [Sites with Authentication (Will Reverse Engineer but Need Account Access)](#sites-with-authentication)
19
  - [Usage Examples](#usage-examples)
20
- - [`poe`](#example-poe)
21
  - [`t3nsor`](#example-t3nsor)
22
  - [`ora`](#example-ora)
23
  - [`writesonic`](#example-writesonic)
@@ -44,15 +44,15 @@ These sites will be reverse engineered but need account access:
44
 
45
  ## Usage Examples <a name="usage-examples"></a>
46
 
47
- ### Example: `poe` (use like openai pypi package) - GPT-4 <a name="example-poe"></a>
48
 
49
  ```python
50
- # Import poe
51
- import poe
52
 
53
- # poe.Account.create
54
- # poe.Completion.create
55
- # poe.StreamCompletion.create
56
 
57
  [...]
58
 
@@ -60,14 +60,14 @@ import poe
60
 
61
  #### Create Token (3-6s)
62
  ```python
63
- token = poe.Account.create(logging = True)
64
  print('token', token)
65
  ```
66
 
67
  #### Streaming Response
68
  ```python
69
 
70
- for response in poe.StreamingCompletion.create(model = 'gpt-4',
71
  prompt = 'hello world',
72
  token = token):
73
 
@@ -77,7 +77,7 @@ for response in poe.StreamingCompletion.create(model = 'gpt-4',
77
  #### Normal Response:
78
  ```python
79
 
80
- response = poe.Completion.create(model = 'gpt-4',
81
  prompt = 'hello world',
82
  token = token)
83
 
@@ -273,7 +273,7 @@ You can install these packages using the provided `requirements.txt` file.
273
  ## Repository structure:
274
  .
275
  ├── ora/
276
- ├── poe/
277
  ├── t3nsor/
278
  ├── testing/
279
  ├── writesonic/
 
8
 
9
  - [ ] implement poe.com create bot feature (4)
10
  - [ ] poe.com chat history management (3)
11
+ - [x] renaming the 'poe' module to 'quora' (2)
12
  - [x] add you.com api (1)
13
 
14
 
 
17
  - [Current Sites (No Authentication / Easy Account Creation)](#current-sites)
18
  - [Sites with Authentication (Will Reverse Engineer but Need Account Access)](#sites-with-authentication)
19
  - [Usage Examples](#usage-examples)
20
+ - [`quora (poe)`](#example-poe)
21
  - [`t3nsor`](#example-t3nsor)
22
  - [`ora`](#example-ora)
23
  - [`writesonic`](#example-writesonic)
 
44
 
45
  ## Usage Examples <a name="usage-examples"></a>
46
 
47
+ ### Example: `quora (poe)` (use like openai pypi package) - GPT-4 <a name="example-poe"></a>
48
 
49
  ```python
50
+ # Import quora (poe)
51
+ import quora
52
 
53
+ # quora.Account.create
54
+ # quora.Completion.create
55
+ # quora.StreamCompletion.create
56
 
57
  [...]
58
 
 
60
 
61
  #### Create Token (3-6s)
62
  ```python
63
+ token = quora.Account.create(logging = True)
64
  print('token', token)
65
  ```
66
 
67
  #### Streaming Response
68
  ```python
69
 
70
+ for response in quora.StreamingCompletion.create(model = 'gpt-4',
71
  prompt = 'hello world',
72
  token = token):
73
 
 
77
  #### Normal Response:
78
  ```python
79
 
80
+ response = quora.Completion.create(model = 'gpt-4',
81
  prompt = 'hello world',
82
  token = token)
83
 
 
273
  ## Repository structure:
274
  .
275
  ├── ora/
276
+ ├── quora/ (/poe)
277
  ├── t3nsor/
278
  ├── testing/
279
  ├── writesonic/
{poe → quora}/__init__.py RENAMED
@@ -1,13 +1,13 @@
1
- from poe.api import Client as PoeClient
2
- from poe.mail import Mail
3
- from requests import Session
4
- from re import search, findall
5
- from json import loads
6
- from time import sleep, time
7
- from pathlib import Path
8
- from random import choice
9
- from urllib import parse
10
-
11
  class PoeResponse:
12
 
13
  class Completion:
 
1
+ from quora.api import Client as PoeClient
2
+ from quora.mail import Mail
3
+ from requests import Session
4
+ from re import search, findall
5
+ from json import loads
6
+ from time import sleep, time
7
+ from pathlib import Path
8
+ from random import choice
9
+ from urllib import parse
10
+
11
  class PoeResponse:
12
 
13
  class Completion:
{poe → quora}/api.py RENAMED
File without changes
{poe → quora}/cookies.txt RENAMED
@@ -5,3 +5,5 @@ NEttgJ_rRQdO05Tppx6hFw==
5
  8hZKR7MxwUTEHvO45TEViw==
6
  Eea6BqK0AmosTKzoI3AAow==
7
  pUEbtxobN_QUSpLIR8RGww==
 
 
 
5
  8hZKR7MxwUTEHvO45TEViw==
6
  Eea6BqK0AmosTKzoI3AAow==
7
  pUEbtxobN_QUSpLIR8RGww==
8
+ 9_dUWxKkHHhpQRSvCvBk2Q==
9
+ UV45rvGwUwi2qV9QdIbMcw==
{poe → quora}/graphql/AddHumanMessageMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/AddMessageBreakMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/AutoSubscriptionMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/BioFragment.graphql RENAMED
File without changes
{poe → quora}/graphql/ChatAddedSubscription.graphql RENAMED
File without changes
{poe → quora}/graphql/ChatFragment.graphql RENAMED
File without changes
{poe → quora}/graphql/ChatListPaginationQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/ChatPaginationQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/ChatViewQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/DeleteHumanMessagesMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/DeleteMessageMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/HandleFragment.graphql RENAMED
File without changes
{poe → quora}/graphql/LoginWithVerificationCodeMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/MessageAddedSubscription.graphql RENAMED
File without changes
{poe → quora}/graphql/MessageDeletedSubscription.graphql RENAMED
File without changes
{poe → quora}/graphql/MessageFragment.graphql RENAMED
File without changes
{poe → quora}/graphql/MessageRemoveVoteMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/MessageSetVoteMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/SendMessageMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/SendVerificationCodeForLoginMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/ShareMessagesMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/SignupWithVerificationCodeMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/StaleChatUpdateMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/SubscriptionsMutation.graphql RENAMED
File without changes
{poe → quora}/graphql/SummarizePlainPostQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/SummarizeQuotePostQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/SummarizeSharePostQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/UserSnippetFragment.graphql RENAMED
File without changes
{poe → quora}/graphql/ViewerInfoQuery.graphql RENAMED
File without changes
{poe → quora}/graphql/ViewerStateFragment.graphql RENAMED
File without changes
{poe → quora}/graphql/ViewerStateUpdatedSubscription.graphql RENAMED
File without changes
{poe → quora}/graphql/__init__.py RENAMED
File without changes
{poe → quora}/mail.py RENAMED
File without changes
{testing → quora}/poe_test.py RENAMED
@@ -1,12 +1,12 @@
1
- import poe
2
  from time import sleep
3
 
4
- token = poe.Account.create(proxy = 'xtekky:ogingoi2n3g@geo.iproyal.com:12321',logging = True)
5
  print('token', token)
6
 
7
  sleep(2)
8
 
9
- for response in poe.StreamingCompletion.create(model = 'gpt-4',
10
  prompt = 'hello world',
11
  token = token):
12
 
 
1
+ import quora
2
  from time import sleep
3
 
4
+ token = quora.Account.create(proxy = 'xtekky:ogingoi2n3g@geo.iproyal.com:12321',logging = True)
5
  print('token', token)
6
 
7
  sleep(2)
8
 
9
+ for response in quora.StreamingCompletion.create(model = 'gpt-4',
10
  prompt = 'hello world',
11
  token = token):
12