summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-09-23 01:44:09 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-09-23 01:44:09 +0200
commit42a02c3d2dfaa0a489765e5161efc0a68e17556f (patch)
tree096177224121391a7be86249c831dc39ddd145eb /g4f/models.py
parent~ (diff)
downloadgpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.tar
gpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.tar.gz
gpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.tar.bz2
gpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.tar.lz
gpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.tar.xz
gpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.tar.zst
gpt4free-42a02c3d2dfaa0a489765e5161efc0a68e17556f.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py26
1 files changed, 15 insertions, 11 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 9889f0d5..12de4db5 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -52,7 +52,11 @@ gpt_35_turbo = Model(
gpt_4 = Model(
name = 'gpt-4',
- base_provider = 'openai')
+ base_provider = 'openai',
+ best_provider = RetryProvider([
+ Aivvm
+ ])
+)
# Bard
palm = Model(
@@ -133,52 +137,52 @@ flan_t5_xxl = Model(
best_provider = Vercel)
code_davinci_002 = Model(
- name = 'openai:code-davinci-002',
+ name = 'code-davinci-002',
base_provider = 'openai',
best_provider = Vercel)
gpt_35_turbo_16k = Model(
- name = 'openai:gpt-3.5-turbo-16k',
+ name = 'gpt-3.5-turbo-16k',
base_provider = 'openai',
best_provider = Vercel)
gpt_35_turbo_16k_0613 = Model(
- name = 'openai:gpt-3.5-turbo-16k-0613',
+ name = 'gpt-3.5-turbo-16k-0613',
base_provider = 'openai')
gpt_35_turbo_0613 = Model(
- name = 'openai:gpt-3.5-turbo-0613',
+ name = 'gpt-3.5-turbo-0613',
base_provider = 'openai',
best_provider = [
Aivvm, ChatgptLogin])
gpt_4_0613 = Model(
- name = 'openai:gpt-4-0613',
+ name = 'gpt-4-0613',
base_provider = 'openai',
best_provider = Vercel)
text_ada_001 = Model(
- name = 'openai:text-ada-001',
+ name = 'text-ada-001',
base_provider = 'openai',
best_provider = Vercel)
text_babbage_001 = Model(
- name = 'openai:text-babbage-001',
+ name = 'text-babbage-001',
base_provider = 'openai',
best_provider = Vercel)
text_curie_001 = Model(
- name = 'openai:text-curie-001',
+ name = 'text-curie-001',
base_provider = 'openai',
best_provider = Vercel)
text_davinci_002 = Model(
- name = 'openai:text-davinci-002',
+ name = 'text-davinci-002',
base_provider = 'openai',
best_provider = Vercel)
text_davinci_003 = Model(
- name = 'openai:text-davinci-003',
+ name = 'text-davinci-003',
base_provider = 'openai',
best_provider = Vercel)