summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bing.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-12 02:14:35 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-12 02:14:35 +0100
commita7c856592213c8a8c7a6ef3b30cccf2ede6a9636 (patch)
tree6f2107ce9057c2da9a30e3fd33ff247d30a3e199 /g4f/Provider/Bing.py
parentFix create_async in CreateImagesProvider (diff)
downloadgpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.tar
gpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.tar.gz
gpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.tar.bz2
gpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.tar.lz
gpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.tar.xz
gpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.tar.zst
gpt4free-a7c856592213c8a8c7a6ef3b30cccf2ede6a9636.zip
Diffstat (limited to 'g4f/Provider/Bing.py')
-rw-r--r--g4f/Provider/Bing.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py
index 18a6040b..b0949397 100644
--- a/g4f/Provider/Bing.py
+++ b/g4f/Provider/Bing.py
@@ -33,7 +33,7 @@ class Bing(AsyncGeneratorProvider):
proxy: str = None,
timeout: int = 900,
cookies: dict = None,
- tone: str = Tones.creative,
+ tone: str = Tones.balanced,
image: str = None,
web_search: bool = False,
**kwargs
@@ -212,7 +212,11 @@ def create_message(
'requestId': request_id,
'messageId': request_id,
}},
+ "verbosity": "verbose",
"scenario": "SERP",
+ "plugins":[
+ {"id":"c310c353-b9f0-4d76-ab0d-1dd5e979cf68", "category": 1}
+ ] if web_search else [],
'tone': tone,
'spokenTextMode': 'None',
'conversationId': conversation.conversationId,