diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-23 01:47:55 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-23 01:47:55 +0100 |
commit | 07c944ad0a90e10e9401d34a626bbc7878ffab2a (patch) | |
tree | 05207374083d6e751cd84107259f5bd1e4d1e971 /g4f/models.py | |
parent | Improve CreateImagesBing (diff) | |
download | gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.tar gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.tar.gz gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.tar.bz2 gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.tar.lz gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.tar.xz gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.tar.zst gpt4free-07c944ad0a90e10e9401d34a626bbc7878ffab2a.zip |
Diffstat (limited to 'g4f/models.py')
-rw-r--r-- | g4f/models.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/g4f/models.py b/g4f/models.py index 40a72d77..636058d3 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -5,6 +5,7 @@ from .Provider import ( Chatgpt4Online, ChatgptDemoAi, GeminiProChat, + PerplexityAi, ChatgptNext, HuggingChat, ChatgptDemo, @@ -78,7 +79,7 @@ gpt_35_long = Model( gpt_35_turbo = Model( name = 'gpt-3.5-turbo', base_provider = 'openai', - best_provider=RetryProvider([ + best_provider = RetryProvider([ GptGo, You, GptForLove, ChatBase, Chatgpt4Online, @@ -114,20 +115,20 @@ llama2_13b = Model( llama2_70b = Model( name = "meta-llama/Llama-2-70b-chat-hf", base_provider = "huggingface", - best_provider = RetryProvider([Llama2, DeepInfra, HuggingChat]) + best_provider = RetryProvider([Llama2, DeepInfra, HuggingChat, PerplexityAi]) ) # Mistal mixtral_8x7b = Model( name = "mistralai/Mixtral-8x7B-Instruct-v0.1", base_provider = "huggingface", - best_provider = RetryProvider([DeepInfra, HuggingChat]) + best_provider = RetryProvider([DeepInfra, HuggingChat, PerplexityAi]) ) mistral_7b = Model( name = "mistralai/Mistral-7B-Instruct-v0.1", base_provider = "huggingface", - best_provider = RetryProvider([DeepInfra, HuggingChat]) + best_provider = RetryProvider([DeepInfra, HuggingChat, PerplexityAi]) ) # Dolphin @@ -311,7 +312,7 @@ llama70b_v2_chat = Model( pi = Model( name = 'pi', base_provider = 'inflection', - best_provider=Pi + best_provider = Pi ) class ModelUtils: |