Hey team, I am using claygent to generate names of decision maker. Then with another AI enrichment, I'm asking it to return the result in a JSON format. I want the result to be segmented into First name, last name etc. instead of having all the info nested under result. Could you help me solve that please? Here is the table: https://app.clay.com/workspaces/256483/workbooks/wb_vaW8dm9eZjM8/tables/t_qsy9THptsd8o/views/gv_DMsMQnABSARq
Hi Augustin, thanks for reaching out. Taking a look at this now.
Claygent currently does not support returning results as JSON objects directly; it can only retrieve text structured in JSON format. To achieve your goal, I recommend adding an additional step with the "use AI" integration. Specifically, use the GPT-4o-mini model for tasks involving content manipulation and categorization. Enable JSON mode to ensure the output is returned as a properly formatted JSON object, and link the Claygent output, prompting gpt to return it as a json object: https://downloads.intercomcdn.com/i/o/w28k1kwz/1243469357/13b225970d7f8c302626abd936ef/CleanShot+2024-11-07+at+12_03_11%402x.png?expires=1731000600&signature=fac9efd9477cf8384e04d571646ef5545c7378c814e4e73d001a8473b34f0898&req=dSIjFc14lIJaXvMW1HO4zV2KkvWQF0K0CmH1AUkHvA7FEMEJUTw75WKXlb0A%0AmlZI%0A This will return the json text into an actual json object. I hope this was helpful. If there's anything else I can assist you with, please let me know!
Bruno R. Thanks mate I didn't see the toggle option to enable JSON mode. Now it's working all fine!
Awesome!! Happy to help here Augustin.
Hi Augustin R.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:
Thank you so much for sharing your feedback Augustin R.!