Back to prompt library
Build Vercel AI SDK & o3 Quantization Benchmark Suite
Linked challenge: AI SDK & OpenAI o3 Quantization Kernel Benchmarking Suite
Prompt source
implementation10 lines3 sectionsNo variables0 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 benchmarks