summaryrefslogtreecommitdiffstats
path: root/unfinished/usesless/README.md
diff options
context:
space:
mode:
authorezerinz <edwinnnzx@gmail.com>2023-04-30 08:26:56 +0200
committerezerinz <edwinnnzx@gmail.com>2023-04-30 08:26:56 +0200
commit5bbd0f5a6b270379a15b16cb6844638546123f71 (patch)
treeace444e8243c45d6f4759e99b1b4bcfbb656c237 /unfinished/usesless/README.md
parentusesless test (diff)
downloadgpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.tar
gpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.tar.gz
gpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.tar.bz2
gpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.tar.lz
gpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.tar.xz
gpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.tar.zst
gpt4free-5bbd0f5a6b270379a15b16cb6844638546123f71.zip
Diffstat (limited to 'unfinished/usesless/README.md')
-rw-r--r--unfinished/usesless/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/unfinished/usesless/README.md b/unfinished/usesless/README.md
new file mode 100644
index 00000000..4ff6d94b
--- /dev/null
+++ b/unfinished/usesless/README.md
@@ -0,0 +1,24 @@
+ai.usesless.com
+
+to do:
+
+- use random user agent in header
+- make the code better I guess (?)
+
+### Example: `usesless` <a name="example-usesless"></a>
+
+```python
+import usesless
+
+question1 = "Who won the world series in 2020?"
+req = usesless.Completion.create(prompt=question1)
+answer = req["text"]
+message_id = req["parentMessageId"]
+
+question2 = "Where was it played?"
+req2 = usesless.Completion.create(prompt=question2, parentMessageId=message_id)
+answer2 = req2["text"]
+
+print(answer)
+print(answer2)
+```