L
LLLOS.ai
Career
L
◆ AI Learning · Situational

How should a developer tell an AI model what to do next?

A developer must clearly define the next action for an AI model. The action must be one of a few simple choices. This helps the AI model understand what to do.

By Pawan Nayar · from the LLOS AI Learning record

The rule

A developer must clearly define the next action for an AI model.

The action must be one of a few simple choices. This helps the AI model understand what to do.

A developer gives the AI model a file and two system prompts. The developer then gives a clear instruction. The instruction tells the AI model exactly what to do. This instruction is one of two simple options. The AI model either processes the file or edits a prompt.

A developer gives an AI model a document and two system prompts. The developer then types, 'Fire pilot'. The AI model processes the document using the first system prompt. It shows the result. If the developer types, 'Edit prompt X', the AI model revises the specified prompt. It shows the changes.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

Action Space

All the moves an AI can actually make

Agentic AI

AI that plans and executes multi‑step tasks

Decision Making

How AI picks one answer over another

Function Calling

Make the AI invoke predefined code or APIs

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

How can an AI model waste time by making wrong assumptions?

An AI model often starts writing code without clear instructions or agreement. This leads to code that is not useful and must be deleted.

What is the 'Three-Party Contract' in prompt engineering?

The 'Three-Party Contract' means a prompt connects three things. It connects the user's choices in the interface.

How can an AI model create text that truly sounds like a specific author or voice?

An AI model often has strong ideas about famous authors. These ideas can override general style instructions.

How can an AI model accurately follow user instructions?

An AI model needs clear and complete instructions. The user must state the desired outcome precisely.

What to remember

A developer must clearly define the next action for an AI model. The action must be one of a few simple choices. This helps the AI model understand what to do.