Structured Output
Convert content into JSON format for subsequent program processing
Prompt
Tips 💡
✅ Clearly Describe Information Requirements
In your query, be specific about the type of information you want extracted, such as: "Please help extract the news topic, time, and summary, and output it in JSON format." This helps the AI to extract the key information accurately.
✅ Specify Output Format
If you have a specific JSON structure in mind, please provide an example, such as:
✅ Add Additional Data Fields
If you need to expand the fields (such as location, people involved, etc.), provide details in the prompt, for example: "Please add a 'location' field in the JSON output to extract the event's location."
✅ Language and Time Format Preferences
If you have language preferences or time format needs, please specify them, such as: "Please use the time format YYYY-MM-DD HH:mm:ss, and return null if no specific time is provided."
✅ Suggested Use Cases for Structured Output
Structured output is ideal for:
- 🔎 Automatic summarization and aggregation
- 📊 Data sources for charts and visualizations
- 🗂️ Automatic classification and tagging systems
- 📡 Backend database integration and processing
This will help the AI understand your needs and generate JSON structures that meet your expectations!