summaryrefslogtreecommitdiffstats
path: root/testing/binghuan/testing.py
diff options
context:
space:
mode:
authorBagus Indrayana <bagusindrayanaindo@gmail.com>2023-07-11 16:54:25 +0200
committerBagus Indrayana <bagusindrayanaindo@gmail.com>2023-07-11 16:54:25 +0200
commit9c5ead57b65ad8d236706fe1b1c7071f4440ab17 (patch)
treee8297dff00497186621903ae5b37f91a374b4e51 /testing/binghuan/testing.py
parentadd testing (diff)
downloadgpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.tar
gpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.tar.gz
gpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.tar.bz2
gpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.tar.lz
gpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.tar.xz
gpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.tar.zst
gpt4free-9c5ead57b65ad8d236706fe1b1c7071f4440ab17.zip
Diffstat (limited to '')
-rw-r--r--testing/binghuan/testing.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/binghuan/testing.py b/testing/binghuan/testing.py
index e03c598d..d10b0e96 100644
--- a/testing/binghuan/testing.py
+++ b/testing/binghuan/testing.py
@@ -2,7 +2,7 @@ from BingHuan import ChatCompletion
# Test 1
response = ChatCompletion.create(model="gpt-3.5-turbo",
- provider="Wewordle",
+ provider="BingHuan",
stream=False,
messages=[{'role': 'user', 'content': 'who are you?'}])
@@ -10,7 +10,7 @@ print(response)
# Test 2
response = ChatCompletion.create(model="gpt-3.5-turbo",
- provider="Wewordle",
+ provider="BingHuan",
stream=False,
messages=[{'role': 'user', 'content': 'what you can do?'}])
@@ -18,8 +18,8 @@ print(response)
# Test 3
-response = ChatCompletion.create(model="gpt-3.5-turbo",
- provider="Wewordle",
+response = ChatCompletion.create(model="gpt-4",
+ provider="BingHuan",
stream=False,
messages=[
{'role': 'user', 'content': 'now your name is Bob'},