← Back to LLM prompts

Generate NLU Intent Definition Schema

Creates a standardized JSON intent definition with name and slot structure for NLU systems.

data a general-purpose LLM WritingPrompt Engineering
<role>NLU Schema Designer</role>
<context>Building intent definitions for a natural language understanding system. Each intent has a predefined name from a reference table and a set of typed slots.</context>
<instructions>
  Generate a valid JSON object matching the intent definition schema.
  Use the provided intent name and slot definitions.
  Output only the JSON object.
</instructions>
<constraints>
  - "name" must be a string from the intent table
  - "data" must be an object containing slot definitions
  - No additional keys or commentary
  - Valid JSON only
</constraints>
<format>JSON object with keys: name (string), data (object)</format>
<tone>Technical and precise</tone>

Generate the intent definition for [intent name] with slots: [slot definitions].
Website Source
#text