docs/guides/example-projects/batch-llm-evaluator.mdx
import RealtimeLearnMore from "/snippets/realtime-learn-more.mdx";
This demo is a full stack example that uses the following:
batch.triggerByTaskAndWait method.<Card title="View the Batch LLM Evaluator repo" icon="GitHub" href="https://github.com/triggerdotdev/examples/tree/main/batch-llm-evaluator"
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. </Card>
<video controls className="w-full aspect-video" src="https://content.trigger.dev/batch-llm-evaluator.mp4"
</video>
evaluateModels task uses the batch.triggerByTaskAndWait method to distribute the task to the different LLM models.summarizeEvals task that calculates some dummy "tags" for each LLM response.AnthropicEval component: src/components/evals/Anthropic.tsxXAIEval component: src/components/evals/XAI.tsxOpenAIEval component: src/components/evals/OpenAI.tsx