Tuesday, June 25, 2024

New ChatGPT Immediate Engineering Method: Program Simulation | by Giuseppe Scalamogna | Sep, 2023

Must read

Towards Data Science
Man in a room holding a book and ethereal computation on the walls
Supply: Picture by Creator and generated with MidJourney

The world of immediate engineering is fascinating on numerous ranges and there’s no scarcity of intelligent methods to nudge brokers like ChatGPT into producing particular sorts of responses. Strategies like Chain-of-Thought (CoT), Instruction-Primarily based, N-shot, Few-shot, and even tips like Flattery/Function Project are the inspiration behind libraries stuffed with prompts aiming to satisfy each want.

On this article, I’ll delve into a method that, so far as my analysis exhibits, is doubtlessly much less explored. Whereas I’ll tentatively label it as “new,” I’ll chorus from calling it “novel.” Given the blistering fee of innovation in immediate engineering and the convenience with which new strategies will be developed, it’s totally attainable that this system may exist already in some kind.

The essence of the method goals to make ChatGPT function in a method that simulates a program. A program, as we all know, includes a sequence of directions sometimes bundled into capabilities to carry out particular duties. In some methods, this system is an amalgam of Instruction-Primarily based and Function-Primarily based prompting methods. However not like these approaches, it seeks to make the most of a repeatable and static framework of directions, permitting the output from one operate to tell one other and everything of the interplay to remain inside the boundaries of this system. This modality ought to align properly with the prompt-completion mechanics in brokers like ChatGPT.

Supply: Picture by Creator

For instance the method, let’s specify the parameters for a mini-app inside ChatGPT4 designed to operate as an Interactive Innovator’s Workshop. Our mini-app will incorporate the next capabilities and options:

  1. Work on New Thought
  2. Broaden on Thought
  3. Summarize Thought
  4. Retrieve Concepts
  5. Proceed Engaged on Earlier Thought
  6. Token/”Reminiscence” Utilization Statistics

To be clear we is not going to be asking ChatGPT to code the mini-app in any particular programming language and we’ll mirror this in our program parameters.

Supply hyperlink

More articles


Please enter your comment!
Please enter your name here

Latest article