Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,3 +871,17 @@ class EvaluationRunState(Enum):
RUNNING = "RUNNING"
SUCCESS = "SUCCESS"
FAILED = "FAILED"


class AdminQueries(Enum):
# default values for parameters can be found in file admin_queries.py
USERS_TO_PROJECTS = "USERS_TO_PROJECTS" # parameter options: organization_id
ACTIVE_USERS_GLOBAL = "ACTIVE_USERS_GLOBAL" # parameter options: min_msg_count, period (days, weeks or months), slices, organization_id
ACTIVE_USERS_BY_ORG = "ACTIVE_USERS_BY_ORG" # parameter options: min_msg_count, period (days, weeks or months), slices, organization_id
MESSAGES_CREATED = "MESSAGES_CREATED" # parameter options: period (days, weeks or months), slices, organization_id
MESSAGES_CREATED_BY_PROJECT = "MESSAGES_CREATED_BY_PROJECT" # parameter options: period (days, weeks or months), slices, organization_id
MESSAGES_FEEDBACK_PER_PROJECT = "MESSAGES_FEEDBACK_PER_PROJECT" # parameter options: period (days, weeks or months), slices, organization_id
AVG_MESSAGES_PER_CONVERSATION_GLOBAL = (
"AVG_MESSAGES_PER_CONVERSATION_GLOBAL" # parameter options: organization_id
)
AVG_MESSAGES_PER_CONVERSATION = "AVG_MESSAGES_PER_CONVERSATION" # parameter options: period (days, weeks or months), slices, organization_id
Loading