|
A question received through
the MetaEdit+ support and maintenance program is more general in nature, and I
thought it would be of interest to Forum readers too as deals with integrating
with AI tools. --- Q: I've
been practicing MERL here, fully AI-driven. I've gotten reasonably good results
when giving the AI enough context (e.g. Metamodel export, links to MERL
references, code examples, etc.). So far I have been copying and pasting the
generated code, and wonder if there are other ways to integrate AI into the
workflow? --- A:
Providing examples, using few-shot learning, and giving access to the https://www.metacase.com/support/56/manuals/mwb/Mw-6_9.html" rel="nofollow - grammar enables an easy start. If you are looking for ways to integrate and avoid
copy/paste with your AI tooling, there's already functionality for this in
MetaEdit+ 5.6.
- Importing MERL code is already possible as MXT (see MWB https://www.metacase.com/support/56/manuals/mwb/Mw-8_4.html" rel="nofollow - 8.4 ,
last paragraph).
- If you want to keep other generators the same, or share them with
your AI tools, you can write them to files using the https://www.metacase.com/support/56/manuals/mwb/Mw-10_1.html" rel="nofollow - document:into :
command, for example run via https://www.metacase.com/support/56/manuals/mwb/Mw-6_4_8.html" rel="nofollow - internal..execute .
- AI tools like Claude can make changes and additions, and then you
can form an MXT from these (e.g. based on a standard metamodel export, if
you're not also creating types with AI).
- There's also the option to run MERL code from an external file at https://www.metacase.com/support/56/manuals/mwb/Mw-6_4_8.html#Heading2118" rel="nofollow - runtime .
These are supported in MetaEdit+ Workbench.
|