Skills and Progressive Disclosure
In this article
- Tell a skill from a tool, even when the skill's steps call that tool.
- Say what a request carries at each step of a skill: descriptions always, instructions once the skill is picked, a file or a script's output only when a step needs it.
- Write a skill description that names the task and the messages that should trigger it.
- Explain why two listed versions of one skill make the choice unreliable, and what the application records for each version to prevent it.
- Terms defined here: skill, progressive disclosure.
Overview
A support team has written about 30 step-by-step procedures, such as fixing a dropped connection or handling a refund request (the count is invented). A customer's message is free text: nothing in it says which procedure it needs, so code cannot choose one in advance. Sending all 30 with every request (the text and data the application sends the model for one reply) fills it with steps the reply never uses.
The team works at Brightline, an invented home-internet provider. Its support assistant, a chat assistant on Brightline's website, has three tools, programs the application runs when the model asks: lookup_order, issue_refund and search_help.
An application can let the model load extra text only when a request needs it: the model reads a short description of every procedure and asks for the full text of the one that fits. A procedure stored this way, for the model to pick and load itself, is called a skill. Afterwards you can design skills, tell them from tools, and spot the descriptions that make the model pick wrong. [3]
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Skills and tools
- Descriptions in every request
- Loading in stages
- When the model picks wrong
- Common mistakes
- In production
- Sources
- Check yourself, 5 questions