OpenGPT / g4f /models.py
AchyuthGamer's picture
Update g4f/models.py
38738ed
raw
history blame
554 Bytes
from g4f import Provider
class Model:
class model:
name: str
base_provider: str
best_provider: str
class gpt_35_turbo:
name: str = 'gpt-3.5-turbo'
base_provider: str = 'Achyuth'
best_provider: Provider.Provider = Provider.Wewordle
class gpt_4:
name: str = 'gpt-4'
base_provider: str = 'openai'
best_provider: Provider.Provider = Provider.gpt4
class ModelUtils:
convert: dict = {
'gpt-3.5-turbo': Model.gpt_35_turbo,
'gpt-4': Model.gpt_4,
}