mirror of
https://github.com/langgenius/dify.git
synced 2025-07-06 16:49:09 +00:00

# Conflicts: # api/core/repositories/sqlalchemy_workflow_node_execution_repository.py # api/core/workflow/entities/node_entities.py # api/core/workflow/enums.py
24 lines
555 B
Python
24 lines
555 B
Python
from enum import StrEnum
|
|
|
|
|
|
class SystemVariableKey(StrEnum):
|
|
"""
|
|
System Variables.
|
|
"""
|
|
|
|
QUERY = "query"
|
|
FILES = "files"
|
|
CONVERSATION_ID = "conversation_id"
|
|
USER_ID = "user_id"
|
|
DIALOGUE_COUNT = "dialogue_count"
|
|
APP_ID = "app_id"
|
|
WORKFLOW_ID = "workflow_id"
|
|
WORKFLOW_EXECUTION_ID = "workflow_run_id"
|
|
# RAG Pipeline
|
|
DOCUMENT_ID = "document_id"
|
|
BATCH = "batch"
|
|
DATASET_ID = "dataset_id"
|
|
DATASOURCE_TYPE = "datasource_type"
|
|
DATASOURCE_INFO = "datasource_info"
|
|
INVOKE_FROM = "invoke_from"
|