1
0
Fork 0

updated quora readme

This commit is contained in:
Raju Komati 2023-05-01 20:02:44 +05:30
parent 136c4229c2
commit 1eefa094e3
No known key found for this signature in database
GPG key ID: A581A5D67A8EB090
2 changed files with 12 additions and 1 deletions

View file

@ -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='')
```

View file

@ -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)