JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Success stories
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • System‑prompt and the “role contract” of ChatGPT App

    ChatGPT Apps
    5 level,0 lecture
    We examine why the system‑prompt in a ChatGPT App is not “persona and style,” but a behaviour contract: role and boundaries of responsibility, rules for invoking tools, safety and user consent, data minimisation, as well as the practice of versioning prompts in your codebase (down to diff). Using the sample training app GiftGenius, we assemble a complete specification prompt and discuss common mistakes.
    Open
  • Instructions around UX: announcing App, opting out of App, and behavior in the dialog

    ChatGPT Apps
    5 level,1 lecture
    We break down how to turn a systemPrompt into a UX contract for ChatGPT Apps: when the assistant should announce launching GiftGenius, when to deliberately not open a UI and answer in text, how to conduct the dialog after a widget (summary + follow-up), and how to honor requests for “no apps.” Plus practical prompt templates, an example call to sendFollowUpMessage, and recommendations on structuring instructions.
    Open
  • The trio of system‑prompt, tool descriptions, and follow‑ups: fighting hallucinations

    ChatGPT Apps
    5 level,2 lecture
    We break down a “three‑layer defense” against hallucinations in ChatGPT Apps: global rules (layer 1) via a pseudo‑ system‑prompt, a formal contract at the tool description/ inputSchema level (layer 2), and follow‑up UX patterns for empty/erroneous results (layer 3). Using the GiftGenius catalog as an example, we design a consistent “system ↔ tools ↔ follow‑ups” contract so the model does not invent items, prices, or actions outside the backend’s data.
    Open
  • Use Cases, Jobs-to-be-Done, and the Golden Prompt Set

    ChatGPT Apps
    5 level,3 lecture
    In this module, we break down how to describe model behavior for the ChatGPT App through concrete use-cases and JTBD, and then lock in the expected tool-calling decisions via a golden prompt set. Using GiftGenius as an example, you’ll see how to turn a “feature list” into scenarios, scenarios into rules for the system-prompt and tool descriptions, and those rules into a verifiable engineering artifact in the repository (JSONL + a simple API route in Next.js).
    Open
  • From instructions to tool and metadata design: discovery and routing

    ChatGPT Apps
    5 level,4 lecture
    In this material, we look at how to turn a good system-prompt into a real working app through solid tool ( tools) and metadata design: how to slice functionality by the “one task — one tool” principle, how to design inputSchema/ outputSchema, how naming and descriptions affect discovery/routing, why annotations like readOnlyHint and destructiveHint are needed, and why all this resembles “Tool Call SEO.”
    Open
Learn
  • Registration
  • Java course
  • Help with tasks
  • Pricing
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success stories
  • Activities
Company
  • About us
  • Contacts
  • Reviews
  • FAQ
  • Support
JavaRushJavaRush — is an interactive online course for learning Java programming from scratch. It contains 1200 practical tasks with one-click solution checking, the necessary minimum of theory on Java basics, and motivating features that help you complete the course: games, quizzes, interesting projects and articles on effective learning and the career of a Java developer.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush
MastercardVisa
"Programmers are not born" © 2026 JavaRush