Smart ideas needed

This is more of an AI engineering and problem solving question on how to think about using AI than a how to use Replit question.

My main product is a signup form tool (think parent teacher conferences, potlucks, volunteer schedules, massage chair slots, etc). grasshoppersignup.com if you want to see and try which will make this description easy to understand. It’s grown nicely this year. Instead of tediously building a form you just say what you want and AI generates a json schema that I use to create the form. Signup forms are complicated in that they have limits on how many people can sign up for some options, sometimes dates and times matter sometimes they don’t, lots of other interesting complexities…skipping ahead to the problem

Today, I get a prompt input from the form creator “what kind of form do you want” and then feed that with a pretty long and detailed and well honed prompt to AI and get back json schema. I get title, description, options, max responses, fields, and a few more things.

it works well, like 70% of generated forms are fantastic. The rest are a mix of bad user prompts and stuff i should be able to do but the output I get isnt good or actually fails. in those fail or miss cases, typically its users asking for crazy stuff like give me a form with options for every day the next 2 years. They’ll paste a massive block of text from chat gpt where they asked it to create a signup form. The problem is that what they asking for is crystal clear and typically doable, but open ai can’t handle that query with my prompt in any reasonable amount of time and it times out or can’t generate matching arrays for my json schema.

I’ve thought about doing a multi step process but I can’t ever outperform my big ass prompt file on the majority of easy and even hard requests. There must be a better way… if any of this made sense and you have thoughts on how I should explore, I’m all ears :ear: :ear:

1 Like

Quick idea, introduce a prompt optimizer button with a magic wand emoji or something. Tooltip tells users to put in their idea and prompt optimizer will analyze what they want and improve. For people pasting in long content, cap the size.

That could work. I use a model optimized for speed and cost on initial requests, but if someone is willing to refine with suggestions and submit again I can flip to a reasoning model w/ longer timeline to give time to package up the json.

Hi, I would add a couple fields before the “describe your idea” field. I don’t think it would be a detriment to the user. E.g. 1) “what kind of form do you need?” [dropdown list of the main types] + other. 2) Do you need date or time choice functionality? [dates yes, times no / dates no, times yes / not relevant / other] etc.

1 Like