mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-11 22:30:41 +03:00
29 lines
552 B
Python
29 lines
552 B
Python
from enum import StrEnum
|
|
|
|
AUDIO_SEGMENT_DURATION = 120 * 1000
|
|
|
|
API_PREFIX = "/api"
|
|
CHAT_GPT_BASE_URI = "/backend-api/v2/conversation"
|
|
INVALID_GPT_MODEL_MESSAGE = "Invalid request model"
|
|
|
|
|
|
class BotStagesEnum(StrEnum):
|
|
about_me = "about_me"
|
|
website = "website"
|
|
help = "help"
|
|
about_bot = "about_bot"
|
|
|
|
|
|
class BotEntryPoints(StrEnum):
|
|
start_routes = "start_routes"
|
|
end = "end"
|
|
|
|
|
|
class LogLevelEnum(StrEnum):
|
|
CRITICAL = "critical"
|
|
ERROR = "error"
|
|
WARNING = "warning"
|
|
INFO = "info"
|
|
DEBUG = "debug"
|
|
NOTSET = ""
|