ChatGPT: generate ODK XForms from a description in words!

There's a new AI chatbot on the block called ChatGPT https://openai.com/blog/chatgpt/

It can talk, it can code, it can generate XForms from prose!

Here a warmup by @Grzesiek2010

And here is a more complicated one with calculations and constraints:

Maybe not the best way to do it compared to ODK Build and pyxform, but WOW THE FUTURE IS NOW!

6 Likes

This can be especially helpful for lengthy options e.g. search, pull data, referencing data from earlier repeats.

Also for structuring API calls to minimize syntax errors.

But main question is: how do we persist the taining we give to gpt? I read it only lasts during current session.

But main question is: how do we persist the taining we give to gpt? I read it only lasts during current session.

I'm not sure we have any control over ChatGPT except for the request prompt (input text) that is given. And the results are probably non-deterministic. So the best one could do is to save the prompt text externally, so it can be input in a new session.

1 Like

Agreed. :slightly_smiling_face:
Still something nice came out of the hype