RAG 后台任务进度事件的统一 payload。
Summary
Types
@type event() :: :started | :progress | :completed | :failed | atom()
@type kind() :: :ingestion | :reembed | :graph
@type t() :: %CMDCRAGArcana.ProgressEvent{ collection: String.t() | nil, current: non_neg_integer() | nil, document_id: String.t() | nil, error: String.t() | nil, event: event(), kind: kind(), metadata: map(), occurred_at_ms: integer(), operation: atom() | nil, percent: float() | nil, result: map() | nil, run_id: String.t() | nil, session_id: String.t() | nil, status: atom() | nil, tenant_id: String.t() | nil, total: non_neg_integer() | nil, version_id: String.t() | nil }
Functions
发送 telemetry 与可选 CMDC EventBus plugin event。
构建统一进度事件。
返回 progress plugin event 名称。