diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-01-23 02:17:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 02:17:02 +0100 |
commit | 2a35052687e9026d90607c7db915e7c5b4e4018e (patch) | |
tree | c28dfef872f8dda791553fe1ae46418990d1c6b1 /g4f/models.py | |
parent | Merge pull request #1501 from eltociear/patch-5 (diff) | |
parent | Fix create copilot comment (diff) | |
download | gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.gz gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.bz2 gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.lz gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.xz gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.tar.zst gpt4free-2a35052687e9026d90607c7db915e7c5b4e4018e.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: |