updated quora readme
This commit is contained in:
parent
136c4229c2
commit
1eefa094e3
2 changed files with 12 additions and 1 deletions
|
@ -65,4 +65,13 @@ poe.chat('who won the football world cup most?')
|
||||||
# new bot creation
|
# new bot creation
|
||||||
poe.create_bot('new_bot_name', prompt='You are new test bot', base_model='gpt-3.5-turbo')
|
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='')
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
from gpt4free import quora
|
from gpt4free import quora
|
||||||
|
|
||||||
token = quora.Account.create(proxy=None, logging=True)
|
token = quora.Account.create(proxy=None, logging=True)
|
||||||
print('token', token)
|
print('token', token)
|
||||||
|
@ -9,3 +9,5 @@ sleep(2)
|
||||||
|
|
||||||
for response in quora.StreamingCompletion.create(model='ChatGPT', prompt='hello world', token=token):
|
for response in quora.StreamingCompletion.create(model='ChatGPT', prompt='hello world', token=token):
|
||||||
print(response.text, flush=True)
|
print(response.text, flush=True)
|
||||||
|
|
||||||
|
quora.Account.delete(token)
|
||||||
|
|
Loading…
Reference in a new issue