Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python
904 B
Raw Blame
import {
  AlertCircle,
  CheckCircle,
  Clock,
  type LucideIcon,
  TriangleAlert,
  XCircle,
} from "lucide-react";
import type { TaskFileStatusCategory } from "@/lib/task-utils";

export const CATEGORY_CHIPS: Array<{
  id: TaskFileStatusCategory;
  label: string;
  icon: LucideIcon;
  iconClassName: string;
}> = [
  {
    id: "completed",
    label: "Completed",
    icon: CheckCircle,
    iconClassName: "text-emerald-500",
  },
  {
    id: "system_error",
    label: "System error",
    icon: AlertCircle,
    iconClassName: "text-destructive",
  },
  {
    id: "cancelled",
    label: "Cancelled",
    icon: XCircle,
    iconClassName: "text-muted-foreground",
  },
  {
    id: "warning",
    label: "Warning",
    icon: TriangleAlert,
    iconClassName: "text-brand-amber",
  },
  {
    id: "indexing",
    label: "Indexing",
    icon: Clock,
    iconClassName: "text-muted-foreground",
  },
];