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

preview_player
Показать описание
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.

✏️ This course was created by @aniakubow .

⭐️ 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

🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan

--

Рекомендации по теме
Комментарии
Автор

Thank you for all your continuous support! Big love to the FreeCodeCamp family

aniakubow
Автор

Coding tutorials have gone from teaching humans to write code to knowing what to ask robots to write code for you

mmmm_yesverynice
Автор

This looks like a fun project. I could see myself using this at work. Usually, I use regex101, but this could be useful for simple regex commands.

MethodOverRide
Автор

I couldn't find the code for the success event handler, so I copied the screen as best as I could. Excellent tutorial - as always.

benji-L
Автор

Interesting usage of chatgtp. I would love to see a project fully created by code to see how to connect it :)

gipu
Автор

What is the fastest way to learn a programming language as a beginner?

williamsusa
Автор

Loved this tutorial! I followed it and its so cool to make an AI project! This was like drinking from a firehose though haha

aefgshwrthwrhnwrhnbw
Автор

Yes, I also found that gpt is very powerful for regEx, web scraper.

User-wtt
Автор

I have a trouble: In label Regex Matches: "Error running code snippet: Regex is not defined" and my regex: const regex = Regex.Replace(script, "[xX]", "");;

joseaugustocencicastilho
Автор

Did someone try it? for some reason, I cannot match my temporary state value 'abacus' into my model. Any suggestions?

shashankbhatnagar
Автор

Hi! I think it is a useful lesson. But I cannot follow the tutorial because it is not possible to copy /paste iframe code from your link to Retool app in Chrome. Appreciate any help . Thank you.

zenonasjurgelevicius
Автор

The Retool app that Ana uses, looks easy and intuitive to use. However, when I tried to use Retool, they have changed it and made it more difficult. I had to slow the video down and one many steps had to try and figure out how to make do on that step. For example I created the link, but when you click on it now, it does not open the link like it does in the video. Why when programmers make "improvements" does the interface become more difficult to use?

RetiredVet
Автор

{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": null
}
}

This is the error I got after I ran my query.

shashankbhatnagar
Автор

What if users enter completely nonsense in the prompt? Or ask for coding examples other than regex?

shuhaozhang
Автор

cant we just use chatgpt and write the prompt there and get that regex that we get when we write that prompt in the app ? it's cool that we made our own app but whats the point ?

yoyoenthusiastma
Автор

The new generation of developers will be able to code this but can’t tell you the difference between a list and dictionary 😂

CaitlinClarksSnizz
Автор

/\D/g is not regex, it is syntax used in Javascript, SED and others.

sloughpacman
Автор

thanks, it's grate, but why not just open the openAI chat webpage and ask directly ?

AlexA-hxdu
Автор

{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": null
}
}

I get this response for my very first I've never created an API key from open ai before
how could I exceed my
this is in the response:
"response": {
"data": {
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": null
}

I'm some help please.

filouDcode
Автор

Can you guys do a tutorial on RPA Development?

sosolowkey
welcome to shbcf.ru