返回提交历史
Modified
g4f/Provider/ChatBase.py
+3
-3
XFEstudio/gpt4free
Extract keywords from incorrect responses
The text of error responses is dynamically created by LLM. Need determine by keywords for more precise identification.
5ad48d91
代码差异
1 个文件
+3
-3
@@ -10,8 +10,8 @@ class ChatBase(AsyncGeneratorProvider):
10
10
url = "https://www.chatbase.co"
11
11
supports_gpt_35_turbo = True
12
12
working = True
13
list_incorrect_responses = ["Hmm, I am not sure. Email support@chatbase.co for more info.",
14
"I can only provide support and information about Chatbase"]
13
list_incorrect_responses = ["support@chatbase",
14
"about Chatbase"]
15
15
16
16
@classmethod
17
17
async def create_async_generator(
@@ -60,4 +60,4 @@ class ChatBase(AsyncGeneratorProvider):
60
60
("stream", "bool"),
61
61
]
62
62
param = ", ".join([": ".join(p) for p in params])
63
return f"g4f.provider.{cls.__name__} supports: ({param})"
63
return f"g4f.provider.{cls.__name__} supports: ({param})"