# Structured output — Claude API / OpenAI API की बुनियाद

Source: https://www.geekswithgeeks.com/hi/llm-apis/llm-apis-05

> Structured output को स्पष्ट evidence के साथ लागू करें।

## Structured output को समझें

**Structured output** में पहले उसकी समस्या समझें। Implementation चुनने से पहले input, constraint और दिखने वाला outcome पहचानें।

## सोच-समझकर अभ्यास करें

**Structured output** के लिए एक छोटा example बनाएँ और उसे बढ़ाने से पहले result verify करें।

## उपयोगी तुलना

**Structured output** route plan जैसा है: हर step को destination से जोड़ता है।

अपनी reasoning जाँचें।

**Quiz:** Structured output के लिए सही पहला step क्या है?

- [x] Goal और constraint तय करें।
- [ ] Unverified example copy करें।
- [ ] Measurement छोड़ दें।

*Answer:* Goal और constraint तय करें।. स्पष्ट goal और constraint निर्णय को review योग्य बनाते हैं।
