gpt4free/g4f/Provider/__init__.py

184 lines
4.7 KiB
Python
Raw Normal View History

from __future__ import annotations
from .Acytoo import Acytoo
from .AiAsk import AiAsk
from .Aibn import Aibn
from .Aichat import Aichat
from .Ails import Ails
from .AItianhu import AItianhu
from .AItianhuSpace import AItianhuSpace
from .Bing import Bing
from .ChatBase import ChatBase
from .ChatForAi import ChatForAi
from .Chatgpt4Online import Chatgpt4Online
from .ChatgptAi import ChatgptAi
from .ChatgptDemo import ChatgptDemo
from .ChatgptDuo import ChatgptDuo
from .ChatgptFree import ChatgptFree
from .ChatgptLogin import ChatgptLogin
from .ChatgptX import ChatgptX
2023-10-08 12:39:19 +03:00
from .Cromicle import Cromicle
from .FakeGpt import FakeGpt
from .FreeGpt import FreeGpt
2023-10-07 05:03:36 +03:00
from .GPTalk import GPTalk
from .GptChatly import GptChatly
2023-10-07 05:03:36 +03:00
from .GptForLove import GptForLove
from .GptGo import GptGo
from .GptGod import GptGod
from .Liaobots import Liaobots
2023-10-15 20:10:25 +03:00
from .Llama2 import Llama2
2023-10-22 09:57:31 +03:00
from .MyShell import MyShell
2023-10-15 20:10:25 +03:00
from .NoowAi import NoowAi
from .Opchatgpts import Opchatgpts
from .Phind import Phind
from .Vercel import Vercel
from .Ylokh import Ylokh
from .You import You
from .Yqcloud import Yqcloud
2023-10-16 16:34:00 +03:00
from .Geekgpt import GeekGpt
2023-08-27 18:37:44 +03:00
2023-09-21 21:10:59 +03:00
from .base_provider import BaseProvider, AsyncProvider, AsyncGeneratorProvider
from .retry_provider import RetryProvider
2023-10-04 08:20:51 +03:00
from .deprecated import *
from .needs_auth import *
from .unfinished import *
2023-06-24 04:47:00 +03:00
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,
'ChatgptFree': ChatgptFree,
'ChatgptLogin': ChatgptLogin,
'ChatgptX': ChatgptX,
'CodeLinkAva': CodeLinkAva,
'Cromicle': Cromicle,
'DfeHub': DfeHub,
'EasyChat': EasyChat,
'Equing': Equing,
'FastGpt': FastGpt,
'Forefront': Forefront,
'FakeGpt': FakeGpt,
'FreeGpt': FreeGpt,
'GPTalk': GPTalk,
'GptChatly': GptChatly,
'GetGpt': GetGpt,
'GptForLove': GptForLove,
'GptGo': GptGo,
'GptGod': GptGod,
'H2o': H2o,
'HuggingChat': HuggingChat,
'Komo': Komo,
'Liaobots': Liaobots,
2023-10-15 20:10:25 +03:00
'Llama2': Llama2,
'Lockchat': Lockchat,
'MikuChat': MikuChat,
'Myshell': Myshell,
2023-10-22 09:57:31 +03:00
'MyShell': MyShell,
2023-10-15 20:10:25 +03:00
'NoowAi': NoowAi,
'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,
2023-10-16 16:34:00 +03:00
'Geekgpt': GeekGpt,
'BaseProvider': BaseProvider,
'AsyncProvider': AsyncProvider,
'AsyncGeneratorProvider': AsyncGeneratorProvider,
'RetryProvider': RetryProvider,
}
2023-07-28 13:07:17 +03:00
__all__ = [
2023-08-27 18:37:44 +03:00
'BaseProvider',
2023-09-21 21:10:59 +03:00
'AsyncProvider',
'AsyncGeneratorProvider',
'RetryProvider',
2023-08-27 18:37:44 +03:00
'Acytoo',
'AiAsk',
'Aibn',
2023-08-27 18:37:44 +03:00
'Aichat',
'Ails',
2023-10-07 23:21:34 +03:00
'Aivvm',
2023-08-27 18:37:44 +03:00
'AiService',
'AItianhu',
'AItianhuSpace',
'Aivvm',
2023-08-27 18:37:44 +03:00
'Bard',
'Bing',
2023-09-10 20:06:46 +03:00
'ChatBase',
'ChatForAi',
'Chatgpt4Online',
2023-08-27 18:37:44 +03:00
'ChatgptAi',
'ChatgptDemo',
'ChatgptDuo',
'ChatgptFree',
2023-08-27 18:37:44 +03:00
'ChatgptLogin',
'ChatgptX',
2023-10-08 12:39:19 +03:00
'Cromicle',
'CodeLinkAva',
2023-08-27 18:37:44 +03:00
'DfeHub',
'EasyChat',
'Forefront',
'FakeGpt',
'FreeGpt',
2023-10-07 05:03:36 +03:00
'GPTalk',
'GptChatly',
2023-10-07 05:03:36 +03:00
'GptForLove',
2023-08-27 18:37:44 +03:00
'GetGpt',
'GptGo',
'GptGod',
2023-08-27 18:37:44 +03:00
'H2o',
'HuggingChat',
2023-08-27 18:37:44 +03:00
'Liaobots',
2023-10-15 20:10:25 +03:00
'Llama2',
2023-08-27 18:37:44 +03:00
'Lockchat',
'Myshell',
2023-10-22 09:57:31 +03:00
'MyShell',
2023-10-15 20:10:25 +03:00
'NoowAi',
2023-08-27 18:37:44 +03:00
'Opchatgpts',
'Raycast',
'OpenaiChat',
'OpenAssistant',
'PerplexityAi',
'Phind',
2023-08-27 18:37:44 +03:00
'Theb',
'Vercel',
'Vitalentum',
2023-08-27 18:37:44 +03:00
'Wewordle',
'Ylokh',
2023-08-27 18:37:44 +03:00
'You',
'Yqcloud',
'Equing',
'FastGpt',
'Wuguokai',
2023-10-16 16:34:00 +03:00
'V50',
'GeekGpt'
]