Overview

This demo is a full stack example that uses the following:

  • A Next.js app with Prisma for the database.
  • Trigger.dev Realtime to stream updates to the frontend.
  • Work with multiple LLM models using the Vercel AI SDK. (OpenAI, Anthropic, XAI)
  • Distribute tasks across multiple tasks using the new batch.triggerByTaskAndWait method.

GitHub repo

View the Batch LLM Evaluator repo

Click here to view the full code for this project in our examples repository on GitHub. You can fork it and use it as a starting point for your own project.

Video

Relevant code

Learn more about Trigger.dev Realtime

To learn more, take a look at the following resources: