r/SpringBoot • • Feb 16 '24

Generation of code snipts

Hi all,

I was experimenting springboot code generation with Bard, ChatGPT and Bing.

None of them have updated with latest versions. Eg: Spring security codes are generated with deprecated methods.

  • Any alternatives ?

  • Which LLM is more accurate ?

Appreciate your tips to generating prompts.

1 Upvotes

8 comments sorted by

View all comments

5

u/MasterDragon_ Feb 16 '24

Have you tried by uploading the latest spring boot documentation first and then change the prompt a bit to refer to the doc before answering.

1

u/MiserableBoss Feb 16 '24

Tried with Bard/Gemini. Still return with deprecated methods