blog-img

Generator Path & Phase



Gen and phase help in ordering the AAAMP for prompt generation. It is required for every prompt in the promptset.


Generator path (or Gen Path in short) serves two main purposes. Firstly it allows for method naming and secondly it is used for ordering the prompt formation.

The AAAMP elements are ordered as they appear in the gen path from left to right based on how they appear in phase.

For example, when the gen path is [Asset, Actor], while Phase is [ Actor, Asset, Action, Model, Process] the following happens :

  1. For AAAMP compilation of [user, file, upload, [name, size, type],s3 store]
  2. Function method is named ad fileUpload.
  3. The function prompt is built as per phase where the prompts are firstly built for actor, then Asset, Action, Model and Process, respectively.




Next: Initial Code & Prompt


Updated: Oct 11, 2024