riddl
riddl copied to clipboard
Create Pass to Use AI To Generate Behavior Code
Create a post-validation pass, named "Codify", that uses a configured external AI API (GPT LLM) to translate the statements in On Clauses, Functions, and Sagas into actual code for various popular programming languages. The output of the pass is the same as the input but with the statements changed to code in the form of the triple-backtick blocks implemented in #606
Allow:
- a choice of viable LLMs that can generate code
- a programming language output to be specified to include Scala, Java, Python, Mojo, and other sufficiently capable languages