I have a calculated column that is pulling data from the AI engine Perplexity and outputting JSON. I want to extract that JSON data and populate other columns. However I can not get it to work on the calculated column. If I take the same JSON text and place it into a non calculated column my formula works fine. What am I missing?
ParseJSON(thisRow.Notes,"company.name")
I am using the formula above on a column to extract the company name from the JSON column.
I was able to resolve the issue, which was that the LLM model I selected was not very good at either outputting JSON in the correct format, but also not following the prompt of not responding with anything but JSON. I changed to one of the other LLM models offered by Perplexity and everything started to work again.