summaryrefslogtreecommitdiffstats
path: root/etc/testing/test_chat_completion.py
diff options
context:
space:
mode:
authorCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-09 20:53:31 +0200
committerCommenter123321 <36051603+Commenter123321@users.noreply.github.com>2023-10-09 20:53:31 +0200
commit58c45522ea4f94f90c3ebbf350eba0b5715848ae (patch)
tree4d4a94c33fd41da0f2ab9c325df0f0274aa53c98 /etc/testing/test_chat_completion.py
parentMerge remote-tracking branch 'origin/main' (diff)
downloadgpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.gz
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.bz2
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.lz
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.xz
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.tar.zst
gpt4free-58c45522ea4f94f90c3ebbf350eba0b5715848ae.zip
Diffstat (limited to 'etc/testing/test_chat_completion.py')
-rw-r--r--etc/testing/test_chat_completion.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/testing/test_chat_completion.py b/etc/testing/test_chat_completion.py
index ee523b86..7058ab4c 100644
--- a/etc/testing/test_chat_completion.py
+++ b/etc/testing/test_chat_completion.py
@@ -7,10 +7,10 @@ import g4f, asyncio
print("create:", end=" ", flush=True)
for response in g4f.ChatCompletion.create(
- model=g4f.models.default,
- provider=g4f.Provider.GptForLove,
- messages=[{"role": "user", "content": "send a bunch of emojis. i want to test something"}],
- temperature=0.0,
+ model=g4f.models.gpt_4_32k_0613,
+ provider=g4f.Provider.Aivvm,
+ messages=[{"role": "user", "content": "write a poem about a tree"}],
+ temperature=0.1,
stream=True
):
print(response, end="", flush=True)