summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMIDORIBIN <aquarion123@gmail.com>2023-05-07 18:31:14 +0200
committerMIDORIBIN <aquarion123@gmail.com>2023-05-07 18:31:14 +0200
commit34fb3fc185562c5617284655fe9c3dfd95bfad98 (patch)
tree69afa227e474eed0c375e5e9a252e03dc53858b3
parentSupport for new authentication methods (diff)
downloadgpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.tar
gpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.tar.gz
gpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.tar.bz2
gpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.tar.lz
gpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.tar.xz
gpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.tar.zst
gpt4free-34fb3fc185562c5617284655fe9c3dfd95bfad98.zip
-rw-r--r--gpt4free/forefront/README.md13
1 files changed, 8 insertions, 5 deletions
diff --git a/gpt4free/forefront/README.md b/gpt4free/forefront/README.md
index 887097ec..7a59fe8e 100644
--- a/gpt4free/forefront/README.md
+++ b/gpt4free/forefront/README.md
@@ -2,15 +2,18 @@
```python
from gpt4free import forefront
+
+
# create an account
-token = forefront.Account.create(logging=False)
-print(token)
+account_data = forefront.Account.create(logging=False)
+
# get a response
for response in forefront.StreamingCompletion.create(
- token=token,
- prompt='hello world',
- model='gpt-4'
+ account_data=account_data,
+ prompt='hello world',
+ model='gpt-4'
):
print(response.choices[0].text, end='')
print("")
+
``` \ No newline at end of file