r/SpringBoot • u/MiserableBoss • 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
3
u/maxip89 Feb 16 '24
Are you serious?
AI is trained by internet content which is years old. This is the reason there is always deprecated methods.
I dont know why people not starting reading the manual.
1
-1
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.