summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-07-16 21:31:51 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-07-16 21:31:51 +0200
commite9467297369dd4f429c084bd1d034f3b1b63e7c2 (patch)
treea8ef4184e60e226baf2dab207225ce8f52502c38 /g4f/models.py
parentminor fixes (diff)
downloadgpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.tar
gpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.tar.gz
gpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.tar.bz2
gpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.tar.lz
gpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.tar.xz
gpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.tar.zst
gpt4free-e9467297369dd4f429c084bd1d034f3b1b63e7c2.zip
Diffstat (limited to 'g4f/models.py')
-rw-r--r--g4f/models.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/g4f/models.py b/g4f/models.py
index ecf18e6d..95be4849 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -152,11 +152,42 @@ class Model:
name: str = 'llama-13b'
base_provider: str = 'huggingface'
best_provider: Provider.Provider = Provider.H2o
+
+ class gpt_35_turbo_16k:
+ name: str = 'gpt-3.5-turbo-16k'
+ base_provider: str = 'openai'
+ best_provider: Provider.Provider = Provider.EasyChat
+
+ class gpt_35_turbo_0613:
+ name: str = 'gpt-3.5-turbo-0613'
+ base_provider: str = 'openai'
+ best_provider: Provider.Provider = Provider.EasyChat
+
+ class gpt_35_turbo_16k_0613:
+ name: str = 'gpt-3.5-turbo-16k-0613'
+ base_provider: str = 'openai'
+ best_provider: Provider.Provider = Provider.EasyChat
+
+ class gpt_4_32k:
+ name: str = 'gpt-4-32k'
+ base_provider: str = 'openai'
+ best_provider = None
+
+ class gpt_4_0613:
+ name: str = 'gpt-4-0613'
+ base_provider: str = 'openai'
+ best_provider = None
class ModelUtils:
convert: dict = {
'gpt-3.5-turbo': Model.gpt_35_turbo,
+ 'gpt-3.6-turbo-16k': Model.gpt_35_turbo_16k,
+ 'gpt-3.5-turbo-0613': Model.gpt_35_turbo_0613,
+ 'gpt-3.5-turbo-16k-0613': Model.gpt_35_turbo_16k_0613,
+
'gpt-4': Model.gpt_4,
+ 'gpt-4-32k': Model.gpt_4_32k,
+ 'gpt-4-0613': Model.gpt_4_0613,
'claude-instant-v1-100k': Model.claude_instant_v1_100k,
'claude-v1-100k': Model.claude_v1_100k,