From ef141d19fe4058bef0d0309fb4e1997fd1c9e3a8 Mon Sep 17 00:00:00 2001 From: Zack Date: Thu, 19 Oct 2023 23:41:49 -0500 Subject: [PATCH] cleanup Former-commit-id: 9dfbdee71e5871f4b5ae77dcf5946b0ed4870848 --- swarms/models/bing_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/models/bing_chat.py b/swarms/models/bing_chat.py index 7074ed62..6817f8bf 100644 --- a/swarms/models/bing_chat.py +++ b/swarms/models/bing_chat.py @@ -26,7 +26,7 @@ class EdgeGPTModel: self.cookies = json.loads(open(cookies_path, encoding="utf-8").read()) self.bot = asyncio.run(Chatbot.create(cookies=self.cookies)) - def ask(self, prompt: str, style: ConversationStyle = ConversationStyle.creative) -> str: + def __call(self, prompt: str, style: ConversationStyle = ConversationStyle.creative) -> str: """ Get a text response using the EdgeGPT model based on the provided prompt. """