[#Script #Coding] Use ChatGPT to Build a RegEx Generator – OpenAI API Low Code Course

Spread the love

Use ChatGPT to Build a RegEx Generator – OpenAI API Low Code Course

By freeCodeCamp.org
Published: Mar 30, 2023


freeCodeCamp.org Learn how to build a dashboard that generates RegEx using the OpenAI API and a low code tool called Retool. The dashboard allows users to input a string, write a description of the desired RegEx, and generate the code to transform the string accordingly.

You can find the iframe code here: https://github.com/kubowania/regex-openai

This course was created by @AniaKubow.

Retool provided a grant to make this course possible. Learn more about Retool: https://retool.com

    Contents

  • (0:00) Introduction
  • (2:36) Writing our own regex code
  • (5:06) Creating the header element
  • (8:11) Creating the text area
  • (11:35) How to create a custom code editor
  • (16:32) Creating the new button
  • (19:08) Setting up the sidebar
  • (20:58) Configuring the open api api
  • (22:51) The body of the example example
  • (24:58) Setting up the code

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news


Spread the love
Proudly powered by WordPress
Creative Commons License
EricBrooks.Com® is licensed under a Creative Commons License.

Disclaimer: The views expressed herein are solely those of Eric Brooks. They do not necessarily reflect those of his employers, friends, contacts, family, or even his pets (though my cat, Puddy, seems to agree with me on many key issues.). In accordance to my terms of use, you hereby acknowledge my right to psychoanalyze you, practice accupuncture, and mock you incessantly with every visit. As the user, you also acknowledge that the author has been legally declared a "Problem Adult" by the Commonwealth of Pennsylvania, and is therefore not responsible for any of his actions. ALSO, the political views and products advertised on this site may/may not reflect the views of Puddy or myself, so please don't take them as an endorsement. We just need to eat.


Connect