summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-12-31 22:57:21 +0100
committerGitHub <noreply@github.com>2023-12-31 22:57:21 +0100
commite4e6512a2ab7c5504d3cbccfb7a79d38761081bc (patch)
tree7d96a2a2d56555fbe45c738e65ab07948240ddc5 /g4f
parentMerge pull request #1411 from varshney-yash/main (diff)
parentUpdate Liaobots.py (diff)
downloadgpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.tar
gpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.tar.gz
gpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.tar.bz2
gpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.tar.lz
gpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.tar.xz
gpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.tar.zst
gpt4free-e4e6512a2ab7c5504d3cbccfb7a79d38761081bc.zip
Diffstat (limited to 'g4f')
-rw-r--r--g4f/Provider/Liaobots.py43
1 files changed, 40 insertions, 3 deletions
diff --git a/g4f/Provider/Liaobots.py b/g4f/Provider/Liaobots.py
index 807b4424..e6857f44 100644
--- a/g4f/Provider/Liaobots.py
+++ b/g4f/Provider/Liaobots.py
@@ -22,9 +22,10 @@ models = {
},
"gpt-3.5-turbo": {
"id": "gpt-3.5-turbo",
- "name": "GPT-3.5",
- "maxLength": 12000,
- "tokenLimit": 4000,
+ "name": "GPT-3.5-Turbo",
+ "maxLength": 48000,
+ "tokenLimit": 14000,
+ "context": "16K",
},
"gpt-3.5-turbo-16k": {
"id": "gpt-3.5-turbo-16k",
@@ -32,8 +33,44 @@ models = {
"maxLength": 48000,
"tokenLimit": 16000,
},
+ "gpt-4-1106-preview": {
+ "id": "gpt-4-1106-preview",
+ "name": "GPT-4-Turbo",
+ "maxLength": 260000,
+ "tokenLimit": 126000,
+ "context": "128K",
+ },
+ "gpt-4-plus": {
+ "id": "gpt-4-plus",
+ "name": "GPT-4-Plus",
+ "maxLength": 130000,
+ "tokenLimit": 31000,
+ "context": "32K",
+ },
+ "gemini-pro": {
+ "id": "gemini-pro",
+ "name": "Gemini-Pro",
+ "maxLength": 120000,
+ "tokenLimit": 30000,
+ "context": "32K",
+ },
+ "claude-2": {
+ "id": "claude-2",
+ "name": "Claude-2-200k",
+ "maxLength": 800000,
+ "tokenLimit": 200000,
+ "context": "200K",
+ },
+ "claude-instant-1": {
+ "id": "claude-instant-1",
+ "name": "Claude-instant-1",
+ "maxLength": 400000,
+ "tokenLimit": 100000,
+ "context": "100K",
+ }
}
+
class Liaobots(AsyncGeneratorProvider):
url = "https://liaobots.site"
working = True