Writing B4X code using ChatGPT is challenging. In my experience, for small tasks it works decent, but I had to "teach" it some basics and correct the mistakes it has made, but most of the time, it would make errors and invent objects that don't exists (very convenient). However, I did find it useful for writing inline Java code or inline Objective-C code. In these contexts, it is very powerful, allowing access to functionalities that would otherwise be inaccessible unless you know a lot of java and/or Objective-C.
Example:
Disclaimer: This post was written entirely with GPT-4 model Version: 0.1 Greetings, The absence of an RSA library in B4i, particularly for generating RSA key pairs and adjusting encryption key size, has been a personal challenge for me. Despite not being well-versed in Objective C, I was...
www.b4x.com