summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authornullstreak <139914347+nullstreak@users.noreply.github.com>2023-12-21 01:03:28 +0100
committerGitHub <noreply@github.com>2023-12-21 01:03:28 +0100
commitdc7b1cd000411a653ed8f467046236ed90b64d21 (patch)
treefb7c04a0f0e74edea56aa42f8fc4c2f8cb20ea06 /g4f/models.py
parentUpdate Bing.py (diff)
downloadgpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.tar
gpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.tar.gz
gpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.tar.bz2
gpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.tar.lz
gpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.tar.xz
gpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.tar.zst
gpt4free-dc7b1cd000411a653ed8f467046236ed90b64d21.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 26cd0fb0..b1e85a5b 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -88,6 +88,12 @@ gpt_4 = Model(
])
)
+gpt_4_turbo = Model(
+ name = 'gpt-4-turbo',
+ base_provider = 'openai',
+ best_provider = Bing
+)
+
llama2_7b = Model(
name = "meta-llama/Llama-2-7b-chat-hf",
base_provider = 'huggingface',
@@ -293,6 +299,7 @@ class ModelUtils:
'gpt-4-0613' : gpt_4_0613,
'gpt-4-32k' : gpt_4_32k,
'gpt-4-32k-0613' : gpt_4_32k_0613,
+ 'gpt-4-turbo' : gpt_4_turbo,
# Llama 2
'llama2-7b' : llama2_7b,