Dmitry Afanasyev e465d71320
add graylog config (#23)
* add additional chat gpt request error

* add graylog config
2023-10-03 09:19:33 +03:00

29 lines
595 B
Python

from enum import StrEnum
AUDIO_SEGMENT_DURATION = 120 * 1000
API_PREFIX = "/api"
CHAT_GPT_BASE_URI = "/backend-api/v2/conversation"
INVALID_GPT_REQUEST_MESSAGES = ("Invalid request model", "return unexpected http status code")
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 = ""