bug in output shown in this table i am using ai to pick the current full time role. it is returning different structures of json outputs in different rows, can someone help me improve the prompt and output here?
To fix inconsistent JSON outputs in your AI column, you need to define a strict JSON schema and add specific formatting instructions. [1]
Quick fixes:
Use the "Help Me" button in your AI enrichment to generate an optimized prompt for consistent outputs [2]
Define exact JSON structure in your prompt with required fields like: { "company": "string", "title": "string", "domain": "string" }
Add validation instructions like "Always return valid JSON. If data is missing, use null values, not empty objects"
For detailed troubleshooting: Please copy and paste the actual JSON output from a few problematic cells so I can help identify specific formatting issues.
The inconsistency likely stems from your prompt not specifying exact output format requirements.
Is that what you were looking for?
If you still need help improving the prompt or fixing the JSON output inconsistencies, Iβm here to assist. Would you like to share some of the actual JSON outputs youβre seeing so we can troubleshoot further?
help from a human
I understand you'd like to speak with a human agent, so Iβm routing you to our team now for further assistance.
Clay Support is sharing a file with you.
Our support team has got your message and we'll get back to you soon!
If youβre dealing with a specific table, drop the URL below so we can help you quicker. Otherwise, someone from our team will be in touch soon!
Hey Garrett - Best practice here would be to use a JSON framework when you specify the outputs, to ensure that everything is consistent. What I'd suggest is to use the "Generate" button to create the JSON for you based on the prompt context
hey hari i did but things arent working as expected! { "type": "object", "properties": { "primaryRole": { "type": "object", "properties": { "title": { "type": "string", "description": "The job title of the main full-time role." }, "companyName": { "type": "string", "description": "The company name of the main full-time role." }, "domain": { "type": "string", "description": "The company domain of the main full-time role." } }, "required": [ "title", "companyName", "domain" ], "description": "The main full-time role determined from current_experience. If no confident match, use null instead of an object.", "additionalProperties": false }, "confidence": { "type": "number", "description": "A confidence score between 0 and 1 for the selected main role." }, "reasoning": { "type": "string", "description": "A brief explanation (1β2 sentences) of why this role was chosen as the main full-time job." } }, "required": [ "primaryRole", "confidence", "reasoning" ], "additionalProperties": false }
let me know if you can help me dive in here π
π π π π π
plz help plzzzzz
π₯Ί
bumping this here! im desperate for help!
