I created this agent this morning and the agent is supposed to generate a report by scraping content from provided links and generate it within a given time frame with given format, but it’s not consistent with it’s output, plus it’s supposed to generate report in a pdf format and sent to the email with the pdf attachment, now the prompt is same for pdf doc and email report bit still there are gaps, some of the content is missing from the pdf but is present in the email report.
I’m struggling in term how should I make this better?
When you use the Generate Text block to create a report, you are somewhat at the mercy of the AI. You can try different prompts/models while explicitly defining output via things like markdown. However, AI will inherently be inconsistent.
If you want consistency, use the Generate Asset block as you build the output via HTML and AI will fill in the information.