DEV Community

Daniel San
Daniel San

Posted on

Compare human and AI responses on Stackoverflow using CodeGPT

In this article I will explain how to use Ask StackOverflow functionality of the Code GPT extension.

Image description

Code GPT extension, available for VSCode, allows you to search for questions on StackOverflow and compare the best human response with the response from artificial intelligence such as OpenAI's GPT-3.

Official Code GPT documentation: https://codegpt.co

Install CodeGPT in VSCode

Follow the instructions below to install the extension in VSCode

Install CodeGPT

Ask StackOverflow

To activate this option you just have to press the cmd + shift + p keys and look for the Ask StackOverflow option

Image description

Now search for a question or even it can be just with a keyword, in this case, we just enter python and we can get all the queries with this concept that exist on StackOverflow

Image description

Select a question and Code GPT will do the magic 😍

It will show you the question, then the best answer and for the last time you will be able to see the answer of the artificial intelligence that you have selected.

In this case, we perform the test with OpenAI and the text-davinci-003 model

Example:

gif

Human vs AI

Image description

Try this tool on your own so that you have both human responses and AI responses within Visual Studio Code to improve your projects.

Top comments (0)