summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md50
1 files changed, 29 insertions, 21 deletions
diff --git a/README.md b/README.md
index 0fcbfc79..1062ff71 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ This repository provides reverse-engineered language models from various sources
## To-Do List
-- [ ] implement poe.com create bot feature (4)
+- [x] implement poe.com create bot feature (4) AVAILABLE NOW
- [ ] poe.com chat history management (3)
- [x] renaming the 'poe' module to 'quora' (2)
- [x] add you.com api (1)
@@ -47,31 +47,41 @@ These sites will be reverse engineered but need account access:
### Example: `quora (poe)` (use like openai pypi package) - GPT-4 <a name="example-poe"></a>
```python
-# Import quora (poe)
-import quora
+# quora model names: (use left key as argument)
+models = {
+ 'sage' : 'capybara',
+ 'gpt-4' : 'beaver',
+ 'claude-v1.2' : 'a2_2',
+ 'claude-instant-v1.0' : 'a2',
+ 'gpt-3.5-turbo' : 'chinchilla'
+}
+```
-# quora.Account.create
-# quora.Completion.create
-# quora.StreamCompletion.create
+#### !! new: bot creation
-[...]
+```python
+# import quora (poe) package
+import quora
-```
+# create account
+# make shure to set enable_bot_creation to True
+token = quora.Account.create(logging = True, enable_bot_creation=True)
-#### Create Token (3-6s)
-```python
-token = quora.Account.create(logging = True)
-print('token', token)
-```
+model = quora.Model.create(
+ token = token,
+ model = 'gpt-3.5-turbo', # or claude-instant-v1.0
+ system_prompt = 'you are ChatGPT a large language model ...'
+)
-#### Streaming Response
-```python
+print(model.name) # gptx....
-for response in quora.StreamingCompletion.create(model = 'gpt-4',
- prompt = 'hello world',
- token = token):
+# streaming response
+for response in quora.StreamingCompletion.create(
+ custom_model = model.name,
+ prompt ='hello world',
+ token = token):
- print(response.completion.choices[0].text, end="", flush=True)
+ print(response.completion.choices[0].text)
```
#### Normal Response:
@@ -84,8 +94,6 @@ response = quora.Completion.create(model = 'gpt-4',
print(response.completion.choices[0].text)
```
-
-
### Example: `t3nsor` (use like openai pypi package) <a name="example-t3nsor"></a>
```python