Skip to content

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

feat(ui): add alert that only ChatML generations is exported as JSONL (#1257)

Marc Klingen86edd502b3dd
diff --git a/web/src/components/table/use-cases/generations.tsx b/web/src/components/table/use-cases/generations.tsx
index 90380447c9..aa5a6241ba 100644
--- a/web/src/components/table/use-cases/generations.tsx
+++ b/web/src/components/table/use-cases/generations.tsx
@@ -119,6 +119,10 @@ export default function GenerationsTable({ projectId }: GenerationsTableProps) {
setIsExporting(true);
posthog.capture("generations:export", { file_format: fileFormat });
+ if (fileFormat === "OPENAI-JSONL")
+ alert(
+ "When exporting in OpenAI-JSONL, only generations that exactly match the `ChatML` format will be exported. For any questions, reach out to support.",
+ );
try {
const fileData = await directApi.generations.export.query({
projectId,