Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 19, 2025

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 19, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 19, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 19, 2025

      My latest hands-on could be the best value AI laptop of the summer, but I still have questions

      May 19, 2025

      DOOM: The Dark Ages had the lowest Steam launch numbers in series history — Is it suffering from the ‘Game Pass Effect’?

      May 19, 2025

      Microsoft won’t be left exposed if something “catastrophic” happens to OpenAI — but may still be 3 to 6 months behind ChatGPT

      May 19, 2025

      Microsoft Copilot gets OpenAI’s GPT-4o image generation support — but maybe a day late and a dollar short for the hype?

      May 19, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      ES6: Set Vs Array- What and When?

      May 19, 2025
      Recent

      ES6: Set Vs Array- What and When?

      May 19, 2025

      Transform JSON into Typed Collections with Laravel’s AsCollection::of()

      May 19, 2025

      Deployer

      May 19, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      My latest hands-on could be the best value AI laptop of the summer, but I still have questions

      May 19, 2025
      Recent

      My latest hands-on could be the best value AI laptop of the summer, but I still have questions

      May 19, 2025

      DOOM: The Dark Ages had the lowest Steam launch numbers in series history — Is it suffering from the ‘Game Pass Effect’?

      May 19, 2025

      Microsoft won’t be left exposed if something “catastrophic” happens to OpenAI — but may still be 3 to 6 months behind ChatGPT

      May 19, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»OpenAI adds support for Structured Outputs for JSON in its API

    OpenAI adds support for Structured Outputs for JSON in its API

    August 7, 2024

    OpenAI is updating its API with support for Structured Outputs to ensure that the outputs of its models match the JSON Schemas provided by developers. 

    According to OpenAI, one of the core use cases for AI today is the ability to generate structured data from unstructured inputs, but previously, developers needed to utilize open source tools, specific prompts, or just retry requests until it matched the format they were looking for. 

    Structured Outputs will make this process easier by forcing the models to match the schema provided by the developers. 

    Some sample use cases for using Structured Outputs include generating UIs based on user intent, separating an answer from its supporting reasoning or commentary, or extracting structured data from unstructured sources, like meeting notes or to-do lists. 

    Developers can access this new functionality one of two ways. First they can set strict: true under the tool definition when writing function calls. The second option is to supply a JSON Schema using the new json_schema option in the response_format parameter. This second option is ideal for situations where the model is responding to a user rather than calling a tool.

    OpenAI said that Structured Outputs follow the company’s existing safety policies, enabling the models to continue refusing unsafe requests when using this feature.

    Structured Outputs is generally available in the API now. In addition, OpenAI’s Python and Node SDKs have both been updated with native support for this new functionality. 

    You may also like…

    Data scientists and developers need a better working relationship for AI

    How to maximize your ROI for AI in software development

    The post OpenAI adds support for Structured Outputs for JSON in its API appeared first on SD Times.

    Source: Read More 

    news
    Facebook Twitter Reddit Email Copy Link
    Previous ArticlepgEdge introduces advanced logical replication features in v24.7
    Next Article A New String Helper, Assert Enums in AssertableJson, and more in Laravel 11.20

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 19, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-48259 – Juan Carlos WP Mapa Politico España CSRF

    May 19, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    The Invisible Art of Design: Exploring the Concept of ‘Polish

    Development

    CVE-2025-3782 – Cision Block Stored Cross-Site Scripting Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Play With Words in Linux Terminal With This Bookmark Inspired Game

    Linux

    Creating an AI-Powered Tutor Using Vector Database and Groq for Retrieval-Augmented Generation (RAG): Step by Step Guide

    Machine Learning

    Highlights

    CVE-2025-46586 – “Apache Contacts Module Permission Control Vulnerability”

    May 6, 2025

    CVE ID : CVE-2025-46586

    Published : May 6, 2025, 7:15 a.m. | 32 minutes ago

    Description : Permission control vulnerability in the contacts module
    Impact: Successful exploitation of this vulnerability may affect availability.

    Severity: 5.1 | MEDIUM

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    CVE-2025-3845 – Markparticle WebServer Buffer Overflow Vulnerability

    April 21, 2025

    GGH – recall your SSH sessions

    January 25, 2025

    Sleep multiple thread groups at the same time

    May 9, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.