Back to Prompt Library
implementation
Build Vercel AI SDK & o3 Quantization Benchmark Suite
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: AI SDK & OpenAI o3 Quantization Kernel Benchmarking Suite
Format
Code-aware
Lines
10
Sections
3
Linked challenge
AI SDK & OpenAI o3 Quantization Kernel Benchmarking Suite
Prompt source
Original prompt text with formatting preserved for inspection.
10 lines
3 sections
No variables
0 checklist items
import { generateObject } from 'ai';
import { openai } from '@ai-sdk/openai';
import { z } from 'zod';
const QuantizationBenchmarkSchema = z.object({
latency_matrix_ms: z.record(z.number()),
memory_footprint_mb: z.record(z.number()),
perplexity_delta: z.number(),
recommended_format: z.string()
});
// Construct prompt using o3 to analyze Triton kernel benchmarksAdaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.