gpt4free/g4f/Provider/__init__.py

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