diff options
author | Debaditya Banerji <77636021+devAdityaa@users.noreply.github.com> | 2024-01-13 15:58:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 15:58:12 +0100 |
commit | 42c4a4315a1f768f522508aa3cdc44b391f9a1a8 (patch) | |
tree | 64b4b2a393d32c3f1278d8f3e684c934dec27e92 /g4f/models.py | |
parent | Merge pull request #1463 from hlohaus/upp (diff) | |
download | gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.tar gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.tar.gz gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.tar.bz2 gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.tar.lz gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.tar.xz gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.tar.zst gpt4free-42c4a4315a1f768f522508aa3cdc44b391f9a1a8.zip |
Diffstat (limited to 'g4f/models.py')
-rw-r--r-- | g4f/models.py | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/g4f/models.py b/g4f/models.py index 21e85c72..90d9f444 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -69,8 +69,9 @@ gpt_35_long = Model( gpt_35_turbo = Model( name = 'gpt-3.5-turbo', base_provider = 'openai', - best_provider=RetryProvider([ - GptGo, You, + best_provider=RetryProvider([ + FreeChatgpt, + GptGo, You, GptForLove, ChatBase, Chatgpt4Online, ]) @@ -80,7 +81,7 @@ gpt_4 = Model( name = 'gpt-4', base_provider = 'openai', best_provider = RetryProvider([ - Bing, Phind, Liaobots + Bing, FreeChatgpt, Phind, Liaobots, ]) ) @@ -158,12 +159,12 @@ claude_instant_v1 = Model( claude_v1 = Model( name = 'claude-v1', base_provider = 'anthropic', - best_provider = Vercel) + best_provider = RetryProvider([FreeChatgpt,Vercel])) claude_v2 = Model( name = 'claude-v2', base_provider = 'anthropic', - best_provider = Vercel) + best_provider = RetryProvider([FreeChatgpt,Vercel])) command_light_nightly = Model( name = 'command-light-nightly', @@ -245,6 +246,13 @@ gpt_4_32k_0613 = Model( best_provider = gpt_4.best_provider ) +#Gemini +gemini_pro = Model( + name = 'gemini-pro', + base_provider = 'google', + best_provider = FreeChatgpt +) + text_ada_001 = Model( name = 'text-ada-001', base_provider = 'openai', @@ -318,6 +326,8 @@ class ModelUtils: 'mistral-7b': mistral_7b, 'openchat_3.5': openchat_35, + # Gemini Pro + 'gemini-pro': gemini_pro, # Bard 'palm2' : palm, 'palm' : palm, |