Generating Server Connects with AI

Not something i do personally as i find it so quick to do API actions via the Wappler interface and i know the code i get will be correct.

Dont get me wrong, I am a big AI fan and use it daily but not in this area.

SO i have to ask, is there a specific reason people use AI to do this or is it a case of "because i can and using AI is cool".

I would love to know what benefits people observe.

3 Likes

I tried this recently to see how Wappler would do it, it was efficient but it uses snake case, instead of my preferred pascal case so that was a bit problematic. I know if I told it my preferred format then it would do it, but it would be better if the AI took into account the existing Wappler settings for this.

I'm in your camp, use AI a lot (both Wappler and external) but prefer to create my own Server Connects.

1 Like

I have thank Claude Sonnet 4 for many of my server actions and associated modules. A case in mind, the procedure to e-sign documents.

This is the server action that Claude created:

Notice the Unknown Action. This is where the signature is created as in

image

Claude has even created the necessary module code as in

image

I know that Brian could have easily produced a Wappler extension for this, but in the meantime, I have a working model.

Same goes for Word2HTML conversion that I had in place prior to Brian's excellent work. Needless to say, I will be using Brian's extension to replace what I presently have.

Problems:

  1. I am limited to an average of 50 tokens per day. Could use many times that.
  2. Need to keep an eye on what is being produced. Claude tends to make the odd mistake. Or maybe it's me giving the wrong instructions. :stuck_out_tongue_winking_eye:

What I love: Claude thinks outside of Wappler within Wappler

3 Likes

Should have some time next week to build that into a full extension if you want.

Thanks Claude Sonnet 4. Using this I've fixed major critical issue in my user-login-server-action. I don't know how much we can trust AI for security and backend server actions, but I'm really happy that Wappler AI is kind of capable to create complex backend server actions.

3 Likes

It would tidy things up, Create Signature instead of Unknown Action.

Not only that, but I am also sure that it will be of benefit to other Wapplers. Very useful for whenever a paper(less) trail needs to be created.

Thank you in advance :pray:

After Thought: Who needs AI when we have @Hyperbytes

6 Likes

I'm still very nervous about using AI for server connect scripts. I have very specific ways of working and I need to know exactly what it's doing and why. Plus, I think it's good practice to do all the server-side work yourself and Wappler makes this very quick and easy.

I will give it a try at some point, though. I'm sure it will prove useful if I'm not sure how best to achieve something and can benefit from AI's suggestions.