PREFACE
Recently, during my morning coffee routine with CNBC playing in the background, an analyst proclaimed that the “rise of the market in 2023 was largely due to the hype with AI”. Hearing this, I nearly spit my coffee out! What?! Not again! I have barely recovered from the crypto hype, preceded by the metaverse hype, preceded by the Kathy Wood disruptor hype, preceded by the Google Glass hype, and so on. In lockstep, corporate messaging began flooding media outlets with proclamations of the inevitable societal transformation AI would bring. Granted, I anticipate that a future of AI omnipresence is inevitable. Yet for me, the current frenzied hype is, once again, overblown and distracting. My science background teaches me that details and evidence can be better guides than exaggerated proclamations. With that in mind, I decided to challenge AI in a head-to-head throwdown to see how my humanity stands up in a mano-e-machine competition. Here we go!
COMPETITION CONTEXT
Using a technical Knowledge Transfer Guide PDF document as source material, create a six-question multiple choice quiz to assess participants' performance upon completion of the knowledge transfer guide. Each question should have four possible choices, where only one of the choices is the correct answer.
Prepare the Source Document
Human: Read the document and understand the concepts necessary to create a meaningful quiz.
ChatGPT: Since ChatGPT cannot access a PDF file, the human converted the PDF file into a text document and removed unnecessary headers and footers.
Note: Slight advantage to the human, considering the human contestant is also the document author.
Competition Round 1
Preparation
Human: Open, read, and understand the concepts in the PDF Knowledge Transfer document. Make a quiz based on the document concepts.
ChatGPT: Create the following prompt for ChatGPT to execute: Context: training assessment. Using the source document, create a multiple-choice quiz with 6 questions, each question must have at least 4 concise answers. Only 1 answer is correct. Source document: (text document copy/paste into ChatGPT window).
Results
Human: 2 hours to read and understand the basic concepts in the document and to create six questions with four multiple-choice answers, with only one of the answers as the correct answer.
ChatGPT: Executed the prompt and generated a quiz in less than 15 seconds.
Score
Human | ChatGPT |
---|---|
0 | 1 |
Human | ChatGPT |
---|---|
0 | 1 |
CONCLUSIONS
ChatGPT outperformed the human exceptionally well in this competition both in terms of its speed, its ability to synthesize meaningful content from the technical document source, and its ability to construct a working HTML quiz with minimal input. Clearly, it may make sense to deploy ChatGPT in cases like this, with the following caveats:
GOING FURTHER
I further prompted ChatGPT to perform the following everyday developer tasks:
Task 1: Prompt: Context: PHP Code. Write an example of URL variable sanitization in PHP code where the URL variable = productID.
Result: in under 5 seconds ChatGPT wrote the PHP code as well as an explanation of the code (see below).
Task 2: Prompt: Context: JavaScript Code. Write JavaScript code to calculate the volume of a sphere where the radius variable = rd, and the value of rd = 20 cm.
Result: in under 5 seconds ChatGPT wrote the JavaScript code as well as an explanation of the Code and the formula for calculating the volume of a sphere (see below).
Of course, these are basic programming tasks. Using ChatGPT to automate these and more complex tasks holds enormous potential. To extrapolate, a developer could prompt ChatGPT a series of code blocks to perform, then construct the blocks into an app, then give ChatGPT with instructions to perform app testing and display the testing results in a detailed summary report.
OUR FUTURE
So, as a developer and technical writer, one of the burning questions is “Will I be replaced by AI?” The answer is somewhat nuanced: “Yes of course, I will, in terms of routine tasks, but my subject matter expertise and ability to effectively use AI are unique human asset...for now”. Perhaps we should think of this new paradigm in terms of “I will be augmented by AI”. This is an age-old phenomenon often repeated when new technology becomes commonplace. I am reminded of an analogy I heard recently on YouTube (paraphrased):
AI is positioned to create new era of specialized skills, requiring a strategic approach to prevent a displaced workforce from being left behind. To illustrate, consider the realm of creative possibilities that open up when routine tasks such as software programming and document writing are delegated to our AI counterparts. By entrusting tasks that once consumed hours, now accomplished within seconds by AI, creative energies can be channeled towards refining and perfecting products and output. I envisage an AI-powered future where humans are untethered to physical office spaces and are allowed to thrive from anywhere, alleviating strains on our environment, while working alongside both human and AI peers, fostering a collaborative and productive synergy.