I'm getting a weird error when trying to run an AI enrichment. Here's my table's URL: https://app.clay.com/workspaces/12842/workbooks/wb_d4A7w8UCm2r7/tables/t_rgz3J2yUAB6k/views/gv_QmH9ucwMahKT
I removed all references to other cells and I'm still getting the same error
Hey there Drake thanks for reaching out, could you reenter all of the cell references so that I can check to see which one was shooting out the error. The error is being returned again because it is expecting there to be an input but there is none in the prompt.
Huh... I re-entered the prompt and it executed just fine, but when I went to generate examples from previewing rows, I got the error again.
I see thank you for sharing, I will bring this up with the team to see why this error is being outputted during the preview.
Just tried a similar AI enrichment and had it work. I think the bug has something to do with how the enrichment saves the prompt and examples. I'll write a detailed bug report below
Thank you Drake
Steps to reproduce the bug:
Make sure you are using the GPT 4o model with a custom API key
Select a Clay template that was saved with examples on another table
Make any edits necessary to the template
Click "Save" then "Save and don't run"
Re-open the edit column box and remove any saved examples
Attempt to create new examples by previewing
Previewed rows will encounter the bug
Note:
If you delete the saved examples PRIOR to clicking "Save and Don't Run", generating examples from previewing rows will behave as expected.
Trying to generate examples without first clicking "Save and Don't Run" appears to send an empty prompt to the GPT 4o API
Thank you for this Drake will share this with the team.