diff options
author | Raju Komati <komatiraju032@gmail.com> | 2023-05-01 16:32:44 +0200 |
---|---|---|
committer | Raju Komati <komatiraju032@gmail.com> | 2023-05-01 16:33:33 +0200 |
commit | 1eefa094e3cb4a7cde74ece82a5f8215150ef7c4 (patch) | |
tree | ff3128a9ba536458836b8d4d5134c83eef085911 | |
parent | renamed method (diff) | |
download | gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.gz gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.bz2 gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.lz gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.xz gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.zst gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.zip |
Diffstat (limited to '')
-rw-r--r-- | gpt4free/quora/README.md | 9 | ||||
-rw-r--r-- | testing/poe_test.py | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/gpt4free/quora/README.md b/gpt4free/quora/README.md index 9c652c59..88fd0093 100644 --- a/gpt4free/quora/README.md +++ b/gpt4free/quora/README.md @@ -65,4 +65,13 @@ poe.chat('who won the football world cup most?') # new bot creation poe.create_bot('new_bot_name', prompt='You are new test bot', base_model='gpt-3.5-turbo') +# delete account +poe.delete_account() +``` + +### Deleting the Poe Account +```python +from gpt4free import quora + +quora.Account.delete(token='') ``` diff --git a/testing/poe_test.py b/testing/poe_test.py index 22d95f5f..6edc030c 100644 --- a/testing/poe_test.py +++ b/testing/poe_test.py @@ -1,6 +1,6 @@ from time import sleep -from gpt4free import quora +from gpt4free import quora token = quora.Account.create(proxy=None, logging=True) print('token', token) @@ -9,3 +9,5 @@ sleep(2) for response in quora.StreamingCompletion.create(model='ChatGPT', prompt='hello world', token=token): print(response.text, flush=True) + +quora.Account.delete(token) |