Skip to content

Commit

Permalink
Update Liaobots.py
Browse files Browse the repository at this point in the history
Added more models
  • Loading branch information
OmiiiDev committed Dec 29, 2023
1 parent ab80fde commit a1c2f5b
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions g4f/Provider/Liaobots.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,55 @@
},
"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",
"name": "GPT-3.5-16k",
"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
Expand Down

0 comments on commit a1c2f5b

Please sign in to comment.