You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
332 B
Python
19 lines
332 B
Python
from enum import IntEnum, StrEnum
|
|
|
|
|
|
|
|
class IsDelete(IntEnum):
|
|
NO_DELETE = 0
|
|
DELETE = 1
|
|
class UserRoleEnum(StrEnum):
|
|
USER="user"
|
|
ADMIN="ADMIN"
|
|
|
|
class LLMType(StrEnum):
|
|
CHAT = 'chat'
|
|
EMBEDDING = 'embedding'
|
|
SPEECH2TEXT = 'speech2text'
|
|
IMAGE2TEXT = 'image2text'
|
|
RERANK = 'rerank'
|
|
TTS = 'tts'
|