summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-10 16:29:51 +0200
committerGitHub <noreply@github.com>2023-10-10 16:29:51 +0200
commit26cd71c7f48f7d8417d1f0348d2d1f89636e54d6 (patch)
tree891c9e1aaf8fec34bac0b4031cfeb1ca8354e402 /g4f/models.py
parent ~ | g4f `v-0.1.5.7` (diff)
parentfix html (diff)
downloadgpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.tar
gpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.tar.gz
gpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.tar.bz2
gpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.tar.lz
gpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.tar.xz
gpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.tar.zst
gpt4free-26cd71c7f48f7d8417d1f0348d2d1f89636e54d6.zip
Diffstat (limited to 'g4f/models.py')
-rw-r--r--g4f/models.py21
1 files changed, 14 insertions, 7 deletions
diff --git a/g4f/models.py b/g4f/models.py
index ced8e290..9be8f459 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -65,14 +65,16 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider = RetryProvider([
- DeepAi, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
+ DeepAi, Aivvm, ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
])
)
gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
- best_provider = Bing
+ best_provider = RetryProvider([
+ Aivvm, Bing
+ ])
)
# Bard
@@ -165,27 +167,32 @@ gpt_35_turbo_16k = Model(
gpt_35_turbo_16k_0613 = Model(
name = 'gpt-3.5-turbo-16k-0613',
- base_provider = 'openai')
+ base_provider = 'openai',
+ best_provider = Aivvm
+)
gpt_35_turbo_0613 = Model(
name = 'gpt-3.5-turbo-0613',
base_provider = 'openai',
- best_provider=Aivvm
+ best_provider = Aivvm
)
gpt_4_0613 = Model(
name = 'gpt-4-0613',
- base_provider = 'openai'
+ base_provider = 'openai',
+ best_provider = Aivvm
)
gpt_4_32k = Model(
name = 'gpt-4-32k',
- base_provider = 'openai'
+ base_provider = 'openai',
+ best_provider = Aivvm
)
gpt_4_32k_0613 = Model(
name = 'gpt-4-32k-0613',
- base_provider = 'openai'
+ base_provider = 'openai',
+ best_provider = Aivvm
)
text_ada_001 = Model(