Instructions for AI: prompts, contexts, output schemas and guardrails
Text to give the model to tell it what to do, how to answer and what to refuse.
Guardrail: mask U.S. personal data (SSN, phone, card)
Guardrail that masks U.S. personal data in AI assistant replies: SSNs, +1 phone…
AI context to anonymize personal data in English text
AI context that replaces personal data in English text (names, emails, phones,…
JSON schema: extract a U.S. invoice
JSON Schema to extract a U.S. invoice with an LLM: vendor, invoice number,…
JSON schema: extract a resume
JSON Schema to extract a resume with an LLM: experience, skills, education and…
JSON schema: classify a support ticket
JSON Schema to classify a support ticket: category, priority, sentiment,…
AI prompt for an Amazon or Shopify product listing
Prompt to write a product listing for Amazon or Shopify in English: title, 5…
What is an instruction for AI?
An instruction is the text you give the model when you use it, without retraining it: a prompt, a context with examples, a schema that sets the answer format or a guardrail that says what it must refuse. It is the simplest and cheapest way to adapt an AI.