On my mobile playing with gpt2lmsys. I don’t disagree with its codegen workflow skeleton as to how it should split the problem into dspy optimization modules. Handle langsec formalization of IO surface first. Come up with an internal representation for the problem domain. Generate test cases to make sure the internal representation is faithfull to the spec. Emit target code for the arch. It keeps everything in prompt space till the end. Layers are not too tightly coupled.
Explanation of Layers
Layer 0: Handles the input of the specification and its validation.
Layer 1: Converts the specification into an intermediate representation (IR).
Layer 2: Responsible for generating code from the IR.
Layer 3: Generates test cases and verifies the generated code.
On my mobile playing with gpt2lmsys. I don’t disagree with its codegen workflow skeleton as to how it should split the problem into dspy optimization modules. Handle langsec formalization of IO surface first. Come up with an internal representation for the problem domain. Generate test cases to make sure the internal representation is faithfull to the spec. Emit target code for the arch. It keeps everything in prompt space till the end. Layers are not too tightly coupled.
Explanation of Layers