summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/__init__.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-10-10 00:45:29 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-10-10 00:45:29 +0200
commit1883d55147c240fda917c96ed6191ce6d09983fb (patch)
treea74f0f4b474546e1497c1ccc3d8fbee5f0003b77 /g4f/Provider/__init__.py
parent~ | Merge pull request #1017 from hlohaus/mon (diff)
downloadgpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.tar
gpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.tar.gz
gpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.tar.bz2
gpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.tar.lz
gpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.tar.xz
gpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.tar.zst
gpt4free-1883d55147c240fda917c96ed6191ce6d09983fb.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/__init__.py62
1 files changed, 62 insertions, 0 deletions
diff --git a/g4f/Provider/__init__.py b/g4f/Provider/__init__.py
index 5b0ec33b..d256064c 100644
--- a/g4f/Provider/__init__.py
+++ b/g4f/Provider/__init__.py
@@ -38,6 +38,68 @@ from .deprecated import *
from .needs_auth import *
from .unfinished import *
+class ProviderUtils:
+ convert: dict[str, BaseProvider] = {
+ 'AItianhu': AItianhu,
+ 'AItianhuSpace': AItianhuSpace,
+ 'Acytoo': Acytoo,
+ 'AiAsk': AiAsk,
+ 'AiService': AiService,
+ 'Aibn': Aibn,
+ 'Aichat': Aichat,
+ 'Ails': Ails,
+ 'Aivvm': Aivvm,
+ 'AsyncGeneratorProvider': AsyncGeneratorProvider,
+ 'AsyncProvider': AsyncProvider,
+ 'Bard': Bard,
+ 'BaseProvider': BaseProvider,
+ 'Bing': Bing,
+ 'ChatBase': ChatBase,
+ 'ChatForAi': ChatForAi,
+ 'Chatgpt4Online': Chatgpt4Online,
+ 'ChatgptAi': ChatgptAi,
+ 'ChatgptDemo': ChatgptDemo,
+ 'ChatgptDuo': ChatgptDuo,
+ 'ChatgptLogin': ChatgptLogin,
+ 'ChatgptX': ChatgptX,
+ 'CodeLinkAva': CodeLinkAva,
+ 'Cromicle': Cromicle,
+ 'DeepAi': DeepAi,
+ 'DfeHub': DfeHub,
+ 'EasyChat': EasyChat,
+ 'Equing': Equing,
+ 'FastGpt': FastGpt,
+ 'Forefront': Forefront,
+ 'FreeGpt': FreeGpt,
+ 'GPTalk': GPTalk,
+ 'GetGpt': GetGpt,
+ 'GptForLove': GptForLove,
+ 'GptGo': GptGo,
+ 'GptGod': GptGod,
+ 'H2o': H2o,
+ 'HuggingChat': HuggingChat,
+ 'Komo': Komo,
+ 'Liaobots': Liaobots,
+ 'Lockchat': Lockchat,
+ 'MikuChat': MikuChat,
+ 'Myshell': Myshell,
+ 'Opchatgpts': Opchatgpts,
+ 'OpenAssistant': OpenAssistant,
+ 'OpenaiChat': OpenaiChat,
+ 'PerplexityAi': PerplexityAi,
+ 'Phind': Phind,
+ 'Raycast': Raycast,
+ 'Theb': Theb,
+ 'V50': V50,
+ 'Vercel': Vercel,
+ 'Vitalentum': Vitalentum,
+ 'Wewordle': Wewordle,
+ 'Wuguokai': Wuguokai,
+ 'Ylokh': Ylokh,
+ 'You': You,
+ 'Yqcloud': Yqcloud
+ }
+
__all__ = [
'BaseProvider',
'AsyncProvider',