Loading the Kaya editor…
// Chat-style standard IO
[assistant] "How would you rate this?"

// LLM-integrated type system
type Rating = "bad" | "neutral" | "good"
const rating: Rating = input()

// Inline templating for strings
let reply = generate(message: "Reply to the {{rating}} rating.")
"{{reply}}"