Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

508 B
Raw Blame
export const DATASET_TABS = {
  ITEMS: "items",
  EXPERIMENTS: "experiments",
} as const;

export const getDatasetTabs = (projectId: string, datasetId: string) => {
  return [
    {
      value: DATASET_TABS.ITEMS,
      label: "Items",
      href: `/project/${projectId}/datasets/${encodeURIComponent(datasetId)}/items`,
    },
    {
      value: DATASET_TABS.EXPERIMENTS,
      label: "Experiments",
      href: `/project/${projectId}/datasets/${encodeURIComponent(datasetId)}/experiments`,
    },
  ];
};