summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-11-16 21:48:26 +0100
committerGitHub <noreply@github.com>2023-11-16 21:48:26 +0100
commit8393b2bd56b601890ffc27a7c0d93ef7c189a325 (patch)
treea0c1ae03c2df4486067ea9268db16ea68c708102 /g4f/models.py
parentMerge pull request #1257 from AndPim4912/ignored-tupo (diff)
parentUpdate Liaobots.py (diff)
downloadgpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.gz
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.bz2
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.lz
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.xz
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.tar.zst
gpt4free-8393b2bd56b601890ffc27a7c0d93ef7c189a325.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py24
1 files changed, 15 insertions, 9 deletions
diff --git a/g4f/models.py b/g4f/models.py
index cdca0e3f..5082287c 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -3,6 +3,8 @@ from dataclasses import dataclass
from .typing import Union
from .Provider import BaseProvider, RetryProvider
from .Provider import (
+ Chatgpt4Online,
+ ChatAnywhere,
GptForLove,
ChatgptAi,
DeepInfra,
@@ -11,14 +13,12 @@ from .Provider import (
GeekGpt,
FakeGpt,
FreeGpt,
- NoowAi,
Berlin,
Llama2,
Vercel,
- GPTalk,
+ Phind,
Koala,
GptGo,
- Phind,
Bard,
Bing,
You,
@@ -39,20 +39,24 @@ default = Model(
name = "",
base_provider = "",
best_provider = RetryProvider([
- Bing, # Not fully GPT 3 or 4
+ Bing,
ChatgptAi, GptGo, GeekGpt,
- Phind, You
+ You,
+ Chatgpt4Online,
+ ChatAnywhere,
])
)
-# GPT-3.5 too, but all providers supports long responses and a custom timeouts
+# GPT-3.5 too, but all providers supports long requests and responses
gpt_35_long = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider = RetryProvider([
FreeGpt, You,
GeekGpt, FakeGpt,
- Berlin, Koala
+ Berlin, Koala,
+ Chatgpt4Online,
+ ChatAnywhere,
])
)
@@ -62,7 +66,9 @@ gpt_35_turbo = Model(
base_provider = 'openai',
best_provider=RetryProvider([
ChatgptX, GptGo, You,
- NoowAi, GPTalk, GptForLove, Phind, ChatBase
+ GptForLove, ChatBase,
+ Chatgpt4Online,
+ ChatAnywhere,
])
)
@@ -70,7 +76,7 @@ gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
best_provider = RetryProvider([
- Bing, GeekGpt, Phind
+ Bing, Phind
])
)