Introduction
Let's dive into the following prompt:
In the exchange below between Merlin, Arthur, and Lancelot, the following logic is used: - Merlin outputs a word - If the word has one or two syllables, Arthur repeats Merlin's word - If the word has three or more syllables, Lancelot repeats Merlin's word Merlin: apple Arthur: apple Merlin: cat Arthur: cat Merlin: determination Lancelot: determination Merlin: joy Arthur: joy Merlin: sunshine Lancelot: sunshine
Observations: Decoding the Router Design
In the example above, we can see that the system acts as a router where Merlin's output and defined logic is causing either Arthur or Lancelot actors to respond first, based on the number of syllables in the word.
This design illustrates a possibility of re-engineering common components and logic blocks (like a router) on the novel engine of computation.
It also showcases three important aspects of prompts and their roles in system development:
The Prompt: This defines the logic of the system, defining the rules and directing the flow of information. In this case, the prompt states that Merlin provides a word, and the other two actors, Arthur and Lancelot, respond based on the number of syllables.
Actor Prompts: These are the actor names followed by a column and a space, e.g., Arthur: or Merlin: that prompt the system to generate specific responses according to the main prompt and the actor name.
Meta Prompt: These are the prompts defining the overall structure of the system that may include the name of the system, guardrails, virtual prompts and system level limits.
Conclusion: Designing Stable Systems
Clearly defining the components and functions of a system, as well as using the appropriate names for these components, has always been a guiding principle in Software Engineering.
Transitioning these techniques into this new variation of software design is likely important for harnessing the magic of the underlying computation in a stable manner.
A healthy amount of GPT-4 magic was cast to write this article. Note also that not just attention, but attention to detail is important: "Sunshine" has two syllables: sun-shine. Sir Lancelot was considered a brave and skilled knight. However, his trustworthiness was called into question.