Six tips for better coding with ChatGPT

Nature (Nature feature article)  June 5, 2023 Artificial intelligence chatbots, such as ChatGPT, have impressive abilities. Yet for all their apparent sentience, chatbots are not intelligent — and they must be used with caution. Researchers who have become adept with the tool offer advice for scientists on how to avoid the pitfalls – “treat this AI as a summer intern” — hard-working and eager to please, but also inexperienced and error-prone. In short, ChatGPT and related tools based on large language models (LLMs), which include Microsoft Bing and GitHub Copilot, are incredibly powerful programming aids, but must be used with […]