summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBagus Indrayana <bagusindrayanaindo@gmail.com>2023-07-11 17:00:51 +0200
committerBagus Indrayana <bagusindrayanaindo@gmail.com>2023-07-11 17:00:51 +0200
commite991484e2d6daf9e377adcdc9aa45fb52a1d921a (patch)
tree99e09bdf256d9543d389ae48d086bfa660a64d44
parentudate testing (diff)
downloadgpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.tar
gpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.tar.gz
gpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.tar.bz2
gpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.tar.lz
gpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.tar.xz
gpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.tar.zst
gpt4free-e991484e2d6daf9e377adcdc9aa45fb52a1d921a.zip
-rw-r--r--testing/binghuan/README.md5
-rw-r--r--testing/binghuan/helpers/binghuan.py2
2 files changed, 7 insertions, 0 deletions
diff --git a/testing/binghuan/README.md b/testing/binghuan/README.md
new file mode 100644
index 00000000..3752d98d
--- /dev/null
+++ b/testing/binghuan/README.md
@@ -0,0 +1,5 @@
+https://github.com/xtekky/gpt4free/issues/40#issuecomment-1630946450
+flow chat process is realy like real Bing (create conversation,listern to websocket and more)
+so i just use code Bing Provider from https://gitler.moe/g4f/gpt4free/ version and replace API endpoint and some conversationstyles and work fine
+
+but bing dont realy support multi/continues conversation (using prompt template from original Provider : def convert(messages) : https://github.com/xtekky/gpt4free/blob/e594500c4e7a8443e9b3f4af755c72f42dae83f0/g4f/Provider/Providers/Bing.py#L322) \ No newline at end of file
diff --git a/testing/binghuan/helpers/binghuan.py b/testing/binghuan/helpers/binghuan.py
index ad3f7ff7..cdeabeb8 100644
--- a/testing/binghuan/helpers/binghuan.py
+++ b/testing/binghuan/helpers/binghuan.py
@@ -1,3 +1,5 @@
+# Original Code From : https://gitler.moe/g4f/gpt4free
+# https://gitler.moe/g4f/gpt4free/src/branch/main/g4f/Provider/Providers/helpers/bing.py
import sys
import ssl
import uuid