• Struggling With AI Tool

    Posted by Ben Doyle on March 10, 2025 at 5:43 pm

    Hi Hasan,

    I’ve been building an AI dog name generator using your guide here: https://learnwithhasan.com/blog/create-ai-tools-with-wordpress/

    Super helpful guide, thank you!

    The problem is, the results that come back are random and not specific to the inputs the user selects. I’ve been trying for weeks to get it right but I can’t seem to nail it.

    I’m not a developer so everything I’ve done so far is with ChatGPT.

    So I’m wondering if you have any advice?

    I’d love to hear back from you!

    Kind regards,

    Ben Doyle

    Hasan replied 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • Husein

    Administrator
    March 11, 2025 at 8:32 am

    Hello Ben, take some time and try to learn the basics of coding (in this case, HTML, CSS, Javascript, and some basic PHP) and do some projects, and then you’ll be able to identify the problems in your code that are causing the issues.

    In the meantime, please attach your PHP code without the OpenAI API key so that I can check the problem for you.

  • Hasan

    Administrator
    March 11, 2025 at 9:00 am

    Hi, first you should take a look at the inputs and prompts and see if the prompt is constructed properly, as @husein mentioned, please attach the backend code to help you spot the problem

Log in to reply.