gpt4free/g4f/Provider/__init__.py

191 lines
4.8 KiB
Python
Raw Normal View History

from __future__ import annotations
from .AiAsk import AiAsk
from .Aichat import Aichat
from .AItianhu import AItianhu
from .AItianhuSpace import AItianhuSpace
2023-11-12 20:03:04 +03:00
from .Berlin import Berlin
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 .ChatgptFree import ChatgptFree
from .ChatgptLogin import ChatgptLogin
from .ChatgptX import ChatgptX
2023-10-26 22:32:49 +03:00
from .DeepInfra import DeepInfra
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 .Hashnode import Hashnode
2023-11-12 20:03:04 +03:00
from .Koala import Koala
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-27 23:59:14 +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,
2023-11-12 20:03:04 +03:00
'Berlin': Berlin,
'Bing': Bing,
'ChatBase': ChatBase,
'ChatForAi': ChatForAi,
'Chatgpt4Online': Chatgpt4Online,
'ChatgptAi': ChatgptAi,
'ChatgptDemo': ChatgptDemo,
'ChatgptDuo': ChatgptDuo,
'ChatgptFree': ChatgptFree,
'ChatgptLogin': ChatgptLogin,
'ChatgptX': ChatgptX,
'CodeLinkAva': CodeLinkAva,
'Cromicle': Cromicle,
2023-10-26 22:32:49 +03:00
'DeepInfra': DeepInfra,
'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,
'Hashnode': Hashnode,
'H2o': H2o,
'HuggingChat': HuggingChat,
'Komo': Komo,
2023-11-12 20:03:04 +03:00
'Koala': Koala,
'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-27 23:59:14 +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',
2023-11-12 20:03:04 +03:00
'Berlin',
2023-08-27 18:37:44 +03:00
'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',
2023-10-26 22:32:49 +03:00
'DeepInfra',
'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',
'Hashnode',
2023-08-27 18:37:44 +03:00
'H2o',
'HuggingChat',
2023-11-12 20:03:04 +03:00
'Koala',
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'
]