Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

388 B
Raw Blame
export const segmentImportStatus = {
  waiting: 'waiting',
  processing: 'processing',
  completed: 'completed',
  error: 'error',
} as const

export type SegmentImportStatus = (typeof segmentImportStatus)[keyof typeof segmentImportStatus]

export const isSegmentImportStatus = (value: string): value is SegmentImportStatus =>
  Object.values<string>(segmentImportStatus).includes(value)