Section 1 - Instruction

You've learned about the key sections of a powerful system prompt: ASK, CONTEXT, CONSTRAINTS, FORMAT, and EXAMPLE. Now let's practice identifying where different instructions belong.

Engagement Message

Getting this right is the key to building a reliable custom AI. Ready to start building?

Section 2 - Practice

Type

Multiple Choice

Practice Question

You're building a custom AI to answer customer support questions. Which section of the system prompt should contain the instruction: "You are an expert support agent for a company named 'Innovate Inc.'"?

A. ASK B. CONTEXT C. CONSTRAINTS D. FORMAT

Suggested Answers

  • A
  • B - Correct
  • C
  • D
Section 3 - Practice

Type

Sort Into Boxes

Practice Question

Sort these instructions into the correct system prompt sections.

Labels

  • First Box Label: CONSTRAINTS
  • Second Box Label: FORMAT

First Box Items

  • Do not use jargon
  • Avoid financial advice
  • Max 200 words

Second Box Items

  • Respond in JSON
  • Use bullet points
  • Start with a greeting
Section 4 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Fill in the blanks with the correct system prompt section names.

The [[blank:ASK]] section tells the AI its main job. The [[blank:CONSTRAINTS]] section sets the rules and boundaries. The [[blank:EXAMPLE]] section shows the AI what a good response looks like.

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal