have you considered that Claude may have hallucinated the XML structure or made errors somewhere?
I would not have expected that Claude writes a KNIME workflow that actually then can be successfully imported.
I have done similar experiments - not related to KNIME though (e.g. my ERP exports data in a structure that my tax accountant could not use, so I pointed claude to the docs of the API my tax accountants tool expected and after like 12 iterations (incl. feedback on what went wrong during import from my tax accountant), Claude provided a conversion script that allowed the data to be imported by my accountant…
I’d suggest to start with a very simple workflow and to find resources online (maybe knime github repo?) that you point Claude towards. Then whenever something fails, provide the error description and ask Claude to fix it…
Yes, I understand the point about the hallucinations.
This is a simple process, read select columns, filter…
I was surprised that Claude had access to a server version to create the workflow. As I understood those files can not be uploaded to a desktop Knime version.
My guess is: The Server and the Desktop version create different type of xmls to describe the nodes.
Can you explain what it is I see on the screenshot? That is not KNIME Server to the best of my knowledge… is that some sort of visual interface that Claude provided to you to inspect the .knwf file?
admittedly I could not comment on what is incorrect there. Overall the workflow structure required for KNIME is quite complex - so would not be surprised if Claude made mistakes.
What you could try is:
Built the workflow straight in KNIME to have a reference - provide that .knwf file to Claude and ask it to double-check its work and sort out any mistakes.
In this case, Claude made an useful workflow. Now it is very easy to create a new workflow, drop the suggested nodes, copy the filters, formulas, etc., “Claude” added the graphs, selected the graph types. I didn’t ask for graphs in my “prompt”.
I agree, Knime is complex but the Node concept is quite amazing, simple xml files with the definition to load and execute.
If I have time, will try to run it from the command line and see what happens .
I will “prompt” more knime workflow designs, some times takes a long time to decide how to solve a erquirement.