What does "Fields" and "JSON Schema" mean in output format?
👋 Hey there! Our support team has got your message - we'll be back in touch soon. If you haven't already, please include the URL of your table in this thread so that we can help you as quickly as possible!
Hello Amir! Happy New Year! 🎊 Great question, and thanks for including the screenshot! Let me explain the difference between the “Fields” and “JSON Schema” options in the output format: 1. Fields: This option allows you to manually define specific fields for the AI to output. For example, in the screenshot, the field named “response” is defined. This is straightforward and works well for simple outputs where you need a single value or a few clearly defined parameters. 2. JSON Schema: This option is designed for more structured and complex outputs. It allows you to define a schema in JSON format, which acts as a blueprint for how the AI should format its response. This is especially useful when you’re working with multiple data points or hierarchical information. In Clay, the “Generate with chat” feature simplifies the process of creating JSON Schemas. With this feature, you provide a prompt, and the AI helps generate a compliant JSON Schema for you. https://downloads.intercomcdn.com/i/o/w28k1kwz/1318234340/127bae392c64e8c9848538004f2c/Screenshot+2025-01-01+at+11_16_24%E2%80%AFPM.png?expires=1735793100&signature=d1b8b65f6a6f477e43880cebe900273525add9576907c1f623863fc45a622807&req=dSMmHst9mYJbWfMW1HO4zTtNg%2BXYVRMsFw5vveIDbnlLK4x0B4ELrhYTQHCh%0AWi%2F9%0A I hope this clears up the difference! Let me know if you need further clarification or have more questions—I’m here to help. 😊
Hey there - just wanted to check in here to see if you needed anything else! Feel free to reply back here if you do.
We haven't heard back from you in a bit, so we're going to go ahead and close things out here - feel free to let us know if you still need something!