AI Pair Programming Showdown: ChatGPT vs Google Bard vs Bing Chat
Ever since large language models have taken the world by storm, I've been curious about how helpful these AI-powered chatbots can be to programmers like myself.
To put them to the test, I decided to build a couple of simple API endpoints using FastAPI and see how ChatGPT, Google Bard, and Bing Chat can assist me in the process.
Here's how they fared:
There are a few things that stood out to me from this experiment:
-
ChatGPT, while highly capable, is limited by its knowledge cutoff date (September 2021). This means it can't help you with libraries or features introduced after that point.
-
Bing Chat, on the other hand, has search engine features that make it more adept at assisting with newer libraries or features.
-
Interestingly, Bing Chat can be convinced that its search index is not up-to-date and be persuaded to follow our command.
-
Google Bard stands out for its speed in rendering output but tends to have the most errors among the three.
-
One common issue with all three tools is their susceptibility to confidently hallucinating answers, sometimes even making up sources.
If you have any questions or comments, feel free to drop a line!