Clay Icon

Best Practices for Prompt-Chaining in Clay: Mega Prompt vs. Columns

·
·

what's the best way to prompt-chain in Clay? Put it all in one mega prompt with steps or have a series of columns - but need to keep adding the context?

  • Avatar of Bharat D.
    Bharat D.
    ·
    ·

    Mega prompts usually gives inaccurate results. I would say spread it over a few columns.

  • Avatar of Ryder M.
    Ryder M.
    ·
    ·

    Bharat D. good to know - thanks! is there a way prompt chain so the second column has the same context / follows up from the first prompt?

  • Avatar of Bharat D.
    Bharat D.
    ·
    ·

    Maybe have a separate column with the context and use/call that with all the AI columns?

  • Avatar of Ryder M.
    Ryder M.
    ·
    ·

    hmm.. yes interesting. or maybe even just reference the first AI column

  • Avatar of Ryder M.
    Ryder M.
    ·
    ·

    Ok, got a message back from Clay support - “Based on step 1 [/response_step1], continue with…”

  • Avatar of Brandon G.
    Brandon G.
    ·
    ·

    Ryder M., I'd say using the JSON output helps some too when you're doing the multicolumn AI checks

  • Avatar of Justin R.
    Justin R.
    ·
    ·

    Sonnet 3.5 /7 is best for longer and more complex prompts. More expensive though. All other models struggle. You can also use a prompt to generate output and then another prompt for that output