Icon

09_​GPT-3_​meets_​StackOverflow

GPT-3 meets StackOverflow

The workflow begins by scraping the top 10 questions from StackOverflow with the Get Request node. These questions are cleaned and prepared for input to one of GPT-3 language models to generate human-like answers via a POST Request. The answers produced by the model are processed and displayed in an interactive dashboard. Finally, the user also has the option to ask their own questions.



GPT-3 meets StackOverflowThis workflow shows how to let GPT-3 answer the top 10 questions (by no. of votes) asked on StackOverflow. Additionally, in the final dashboard, the user also has the option to ask their own questions. Questions from StackOverflowRetrieve and prepare questions Answers from StackOverflowRetrieve and prepare answers Input API KeyRequest it at: https://openai.com/api/ Select modelDefault: text-davinci-003 (most powerful as of Feb 2023) Feed StackOverflow questions to GPT-3 Text completion upon prompt Q&A DashboardVisualize answers and ask free-textquestions Text completionGet questions fromStackOverflow from Jan 1st, 2000onwardsKeep top 10questions bynum. of votesReplacing HTML CodeJSON format for API Requestmax = 100 tokensGet answersusing answer ID Execute and openinteractive viewCreate hyperlinkfor questionsCreate hyperlinksfor answers & questions Get answersPOST Request GET Request Top k Selector Java Snippet ContainerInput (JSON) GET Request Joiner Provide API key Q&A Dashboard Column Expressions Column Expressions Processing Processing Processing Column Filter Select model Variable toTable Row Questions to JSON GPT-3 meets StackOverflowThis workflow shows how to let GPT-3 answer the top 10 questions (by no. of votes) asked on StackOverflow. Additionally, in the final dashboard, the user also has the option to ask their own questions. Questions from StackOverflowRetrieve and prepare questions Answers from StackOverflowRetrieve and prepare answers Input API KeyRequest it at: https://openai.com/api/ Select modelDefault: text-davinci-003 (most powerful as of Feb 2023) Feed StackOverflow questions to GPT-3 Text completion upon prompt Q&A DashboardVisualize answers and ask free-textquestions Text completionGet questions fromStackOverflow from Jan 1st, 2000onwardsKeep top 10questions bynum. of votesReplacing HTML CodeJSON format for API Requestmax = 100 tokensGet answersusing answer ID Execute and openinteractive viewCreate hyperlinkfor questionsCreate hyperlinksfor answers & questions Get answersPOST Request GET Request Top k Selector Java Snippet ContainerInput (JSON) GET Request Joiner Provide API key Q&A Dashboard Column Expressions Column Expressions Processing Processing Processing Column Filter Select model Variable toTable Row Questions to JSON

Nodes

Extensions

Links