I’m using Clay to generate descriptions for around 300 images. The AI often starts each description with repetitive phrases like “In the heart of” or similar. Since Clay processes cell by cell, how can I prompt it to generate more varied introductions automatically, without having to manually rewrite each one? Is there a way to reference previous outputs or enforce more stylistic variation across the dataset?
To generate more varied introductions for your image descriptions in Clay, you can use these prompt engineering techniques: 1. Provide 3-5 diverse examples of introductions you'd like to see. This gives our AI a range of styles to work with. 2. Include negative exclusion criteria to avoid repetitive phrases like "In the heart of." 3. Specify the desired tone and formatting details in your prompt. 4. Give clear instructions on how to start each description differently. You can implement these techniques using the "write to table" feature in Clay. Remember to craft your prompt carefully to ensure varied and appropriate content across your dataset.
Is there no way to look at prior written cells and in that way exclude soft duplicates? Maybe a way to rewrite the ones that are starting out the same as other descriptions?
While Clay doesn't have a direct way to reference prior written cells for excluding soft duplicates, we do offer some features that can help: 1. You can use the "write to table" feature to reference data from other columns, including entire enrichments or specific endpoints. 2. To avoid duplicates, you can use the Auto-dedupe feature. Select the Auto-dedupe icon at the bottom right of your table, enable automatic deduplication, and choose the column to dedupe. 3. For checking across multiple tables, you can use our Lookup integration. The "Lookup Single Row in Other Table" or "Lookup Multiple Rows in Other Table" features allow you to verify if specific records exist in another table. These methods can help you identify and manage similar content across your dataset.
https://app.clay.com/workspaces/356389/workbooks/wb_Yk8Ns6qzATkC/tables/t_GYtYB2CZPShf/views/gv_W4ZqH8mh25xJ The column is Safari Post Content and an example of the the repetitive words are “Mitt i hjärtat av”
To avoid repetitive phrases like "Mitt i hjärtat av" in your Safari Post Content column, you can use our "write to table" feature with AI snippets. Here's how: 1. Create a prompt that emphasizes variety in introductions. 2. Provide diverse examples of desired introductions. 3. Include negative exclusion criteria for repetitive phrases. 4. Specify the tone and formatting you want. When setting up your "write to table" operation: 1. Reference data from other columns if needed. 2. Use clear instructions to start each description differently. 3. Consider using the Auto-dedupe feature to avoid duplicates. These techniques should help you generate more varied and engaging introductions for your image descriptions.
Will the AI understand to not repeat and vary text going through multiple cells? Will the prompt understand how to differentiate between rows?
Yes, our AI in Clay can understand how to avoid repetition and vary text across multiple cells when properly prompted. When using the "write to table" feature, you can craft a prompt that instructs the AI to generate unique content for each row. Here's how: 1. Set a clear context in your system prompt, explaining the need for variety. 2. Provide step-by-step instructions for generating unique content. 3. Specify the desired output format, including variation requirements. 4. Use the AI help tool to refine your prompt for better results. Remember to preview your results by clicking on enriched cells to ensure the AI is generating varied content across rows.
I added to the prompt to add variation across the cells but still the similar output. Would love some human help here
Hey, Clay’s AI processes each row independently, so it doesn’t have awareness of what’s written in the previous or following cells. That’s why you’re seeing repeated phrases like “Mitt i hjärtat av” across your dataset. To reduce repetition, here are two things you can try: 1. Use a Lookup Column Create a lookup that pulls in existing descriptions, so your prompt can reference them and avoid duplicating similar intros. You can include that column in your prompt as context—something like:“Write a unique description that does not start the same way as this: {Previous Descriptions}” 1. Adjust the Temperature Try increasing the temperature setting in your model. A higher temperature makes the output more creative and varied, while lower values make it more predictable and repetitive. Let me know if you want help testing a prompt or setting that up in your table!
Appreciate you!