AI is giving me this result:
Can anyone Please point me to a document or video describing how to assign these to respective fields ? Thx
AI is giving me this result:
I would:
Yes great, thanks, now the AI field does a JSON extract however in some not in all instances the query failed:
For starters, I would instruct the AI to not include the word JSON in front of the curly bracket. Second, I would make sure it’s not including those back ticks at the beginning and end.
Like Jeff said, add something like this:
"Strictly adhere to returning only a valid JSON, and don’t include backticks or the word JSON itself.
Invalid response:
‎```json
{
“key1”: “value1”,
“key2”: “value2”
}
Valid response:
{
“key1”: “value1”,
“key2”: “value2”
}
"
Which AI column are you using?
Use Text to JSON
. It should always return valid JSON without any special prompting.
Fantastic, Thanks have applied this:
Give an example in the instructions:
{
“title”: “Title value”,
“date”: “Date value”,
“category”: “Category value”,
“text”: “Text value”
}
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.