lmnr-ai / lmnr

Laminar - open-source all-in-one platform for engineering AI products. Crate data flywheel for you AI app. Traces, Evals, Datasets, Labels. YC S24.
https://www.lmnr.ai
Apache License 2.0
1.19k stars 60 forks source link

exports #170

Closed dinmukhamedm closed 3 weeks ago

dinmukhamedm commented 3 weeks ago

[!IMPORTANT] This pull request adds dataset and evaluation result exports, improves subscription seat management, and fixes labeling queue behavior.

  • Exports:
    • Add CSV export for evaluation results in frontend/app/api/projects/[projectId]/evaluations/[evaluationId]/download/route.ts.
    • Add JSON export for datasets in frontend/app/api/projects/[projectId]/datasets/[datasetId]/download/route.ts.
  • Subscription Management:
    • Add seats_included_in_tier to WorkspaceStats in app-server/src/db/stats.rs.
    • Change add_seats to set_seats in app-server/src/db/subscriptions.rs.
    • Update subscription handling in frontend/app/api/workspaces/[workspaceId]/update-seats/route.ts.
    • Update Stripe integration in frontend/app/checkout/page.tsx and frontend/app/checkout/portal/page.tsx.
  • Labeling Queues:
    • Fix labeling queue behavior in frontend/app/api/projects/[projectId]/queues/[queueId]/remove/route.ts.
    • Update label management in frontend/components/queue/labels.tsx and frontend/components/queue/queue.tsx.
  • Miscellaneous:
    • Add DownloadButton component in frontend/components/ui/download-button.tsx.
    • Update email notifications for subscription updates in frontend/lib/emails/utils.ts.

This description was created by Ellipsis for b8b0d09260f91d5bcb8d8b30fd16bf7353262e29. It will automatically update as commits are pushed.