Back

Use cases

Common ways to use an AI API in a web app: summarizing text, chatbots, generating quiz questions, classifying or tagging content, and pulling structured data out of messy text.

// Summarize
"Summarize this article in 3 bullet points: ..."

// Generate quiz questions
"Create 5 multiple-choice questions about SQL JOINs as JSON."

// Classify
"Is this review positive, negative, or neutral? Reply with one word."

// Extract data
"From this email, return JSON with name, date, and order number."

Roadmap