Skip to content

Forum in maintenance, we will back soon 🙂

How to Create AI To...
 
Notifications
Clear all

How to Create AI Tools in WordPress in 5 Minutes ?

59 Posts
10 Users
12 Reactions
12.6 K Views
Abe
 Abe
(@techprieto)
Posts: 17
Eminent Member
Topic starter
 

Hi Hasan, I just watched that amazing video. One question, you mentioned that you structured the form with the help of ChatGPT, but I wanted to know if the PHP code was also done with its help?

 
Posted : 08/01/2023 9:01 pm
SSAdvisor reacted
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@techprieto yes, ChatGPT can do PHP. PHP is older than Python and is the language WordPress is built with. I plan to take that code and convert it to Python as well.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/01/2023 9:45 pm
Hasan Aboul Hasan
(@admin)
Posts: 1257
Member Admin
 

Yeah, I used ChatGPT To Generate the full code

 
Posted : 08/02/2023 2:29 pm
SSAdvisor reacted
Abe
 Abe
(@techprieto)
Posts: 17
Eminent Member
Topic starter
 

@ssadvisor Thanks for your response, I'm quite familiar with the existence of PHP and the use of WordPress, what I wanted to know is whether the code was generated by ChatGPT, I'm not very sure what you're going to do with converting it into Python since half of the code is made for the structure of WordPress.

However, even if ChatGPT can generate the code, you need to know exactly what you want to modify or understand what you need from the platform where you want to use it.

 
Posted : 08/02/2023 4:14 pm
YD Smart
(@ydsmart)
Posts: 4
New Member
 

Question: How do we use ChatGPT for AI Tools in WP without breaking the bank? 

 
Posted : 08/02/2023 10:15 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@ydsmart Do you already have a WP site? OpenAI is fair with its pricing model and basically one of the cheapest services on the market.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/03/2023 1:16 am
YD Smart
(@ydsmart)
Posts: 4
New Member
 

@techprieto Yes, I do already have a WP site 😀 Just wondering how Hasan handles so much traffic using IA tools. I have two tools without ChatGPT and a new one that I just put together after Hasan's video needing AI. I was planning to add 10 more or so to my travel site. Thanks!

 
Posted : 08/03/2023 1:07 pm
YD Smart
(@ydsmart)
Posts: 4
New Member
 

@techprieto Yes, I do already have a WP site 😀 Just wondering how Hasan handles so much traffic using IA tools. I have two tools without ChatGPT and a new one that I just put together after Hasan's video needing AI. I was planning to add 10 more or so to my travel site. Thanks!

 
Posted : 08/03/2023 1:08 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@ydsmart The most I've been charged by OpenAI is less than $2.00 for a month's worth of use. The caveat though is I have yet to be using it in a production environment but I've been in development mode and using it quite often privately.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/04/2023 12:46 am
YD Smart
(@ydsmart)
Posts: 4
New Member
 

@ssadvisor Thank you for the information and time. One last question: How much traffic your site had for a charge of $2/month? Thanks again!

 
Posted : 08/04/2023 12:37 pm
Abe
 Abe
(@techprieto)
Posts: 17
Eminent Member
Topic starter
 

@ydsmart He mentions that he is not yet using it in production mode, but in development mode, unless he has a team of developers it would be just him for now.

 
Posted : 08/04/2023 3:54 pm
SSAdvisor reacted
(@darren)
Posts: 7
Member
 

Hasan, in your awesome YouTube video you change the prompt in the PHP snippet area but in the tutorial on Medium you change the prompt in the Javascript in the HTML element of the WP page itself. Please where do we need to change out the prompt/s to suit our needs? Also how do you add multiple inputs from the user into the prompts?

 
Posted : 08/05/2023 5:14 am
(@darren)
Posts: 7
Member
 

I asked ChatGTP and it said to change the Javascript prompt only. Thanks.

 
Posted : 08/05/2023 7:02 am
Hasan Aboul Hasan
(@admin)
Posts: 1257
Member Admin
 

@darren thanks, if you prefer to hide the prompt, you can change it in PHP, if you are comfortable with sharing your prompt publicly, you can change it in JS code.

I prefer hiding it, so I change it in PHP 🙂

 
Posted : 08/05/2023 9:52 am
Darren and SSAdvisor reacted
(@darren)
Posts: 7
Member
 

@admin Thanks Hasan, if I am adding multiple tools to my WordPress site do I need to create multiple PHP code snippets each with a different prompt and OpenAI API key? I assumed that as we added the first snippet to operate on all pages the same code would also be used for all tool pages created. How will each tool created know which PHP snippet to use?

This post was modified 1 year ago by Darren
 
Posted : 08/06/2023 8:59 am
Hasan Aboul Hasan
(@admin)
Posts: 1257
Member Admin
 

@darren if you are passing the prompt from javascript, then you can use the same PHP code.

if not, you have to create a PHP function for each tool.

but no need to change the API key either way.

 
Posted : 08/06/2023 2:52 pm
Darren reacted
(@michael-brannon)
Posts: 13
Active Member Customer
 

Hi, Hasan

Thank you for sharing this invaluable knowledge. Your YouTube channel is full of amazing advice and actionable content. It allows me to be more than a parrot regurgitating and inputting unknown variables into an unknown system. 

Anyway, I've been working on this tool to help me create listing descriptions, but I'm running into some trouble. I already have a template I use, but when I try to incorporate it into my code, the quality just isn't great. I tried asking for help from ChatGPT, but it didn't really solve the problem. Do you have any suggestions on how I can make this tool better and more efficient? I'm planning on adding more tools like this in the future, so any feedback would be super helpful! Thanks so much.

Thank you so much for your assistance!

 

 
Posted : 08/08/2023 6:47 pm
Hasan Aboul Hasan
(@admin)
Posts: 1257
Member Admin
 

@michael-brannon Thanks

Do you mean you tested within ChatGPT, and it is working as expected? And in code Not?

Or you are looking to optimize this prompt template?

 
Posted : 08/09/2023 10:52 am
(@michael-brannon)
Posts: 13
Active Member Customer
 

@admin Hi, Hasan

ChatGPT is working just fine. I'm trying to modify the script to use an optimized prompt for the template.  

 
Posted : 08/09/2023 11:54 am
(@michael-brannon)
Posts: 13
Active Member Customer
 

Hello, Hasan

I was able to update the tool with a better prompt. Somehow, I left the prompt section out of my script when I tried to enhance it. Anyway, my new tool still needs work. For example, I'd like to make the input box bigger and center it with the "generate" button, but it's a good start.

Thanks again for sharing your incredible knowledge.

S/

Michael

 
Posted : 08/09/2023 3:30 pm
Page 1 / 3
Share: