Inkhmer LogoInKhmerBuilding the digital future
  • About
  • Projects
  • Blog
  • Tools
  • Learn
  • Contact
KMខ្មែរENEnglish

InKhmer.com — a personal Khmer Digital Hub curated by our team. Tools, Cambodia resources, Khmer culture, and digital projects. Practical, approachable, and built for everyone.

Social

FacebookTelegram

Quick Links

  • About
  • Projects
  • Blog
  • Tools
  • Learn
  • Contact

Explore

  • What We Build
  • How We Build
  • Roadmap
  • Experiments
  • Sitemap

Subscribe to our newsletter

Get the latest updates about Cambodia, new tools, and exclusive content delivered to your inbox.

  • Terms of Service
  • Privacy Policy
  • Cookie Policy

© 2026 InKhmer. All rights reserved.

LearnEffective Prompting in Khmer and EnglishContext and constraints

Context and constraints

An LLM doesn't know what you know. It doesn't know which province your shop is in, who your customers are, or what you're talking about. Context is the information you give it so it can answer correctly.

What goes in good context?

  • Real facts: names, prices, dates, addresses — write them directly, don't make it guess.
  • The audience: "for elderly people unfamiliar with technology" vs "for researchers" — sets the tone.
  • The goal: "so they understand" vs "so they buy" — these differ.

Thin vs complete example:

  • Thin: "write a letter to a customer."
  • Complete: "Write a short polite Khmer letter to a customer whose delivery is late. Apologise, say the goods arrive Wednesday, and give the shop's phone number. Don't promise anything we haven't said."

Constraints matter more than you think: if you don't say "no prices", it may invent one. Constraints are guardrails — they tell it where not to go. Common ones: language, length, tone, things to exclude (English words, real numbers, real people's names).

Rule: information it would otherwise invent — give it directly. Information it doesn't need — don't give it (privacy, see M5).

Takeaways:

  • Context = real facts it can't guess
  • Constraints = guardrails against invention
  • Give real facts; don't make it guess

Sign in to start tracking from this lesson