Structured output is all you need!
@omarsar0332K followers
35,153 views
14 Comments
Comments from the original post on X (Twitter)

@krutosh
I have literally just finished writing my agents with @langchain, utilizing structured output, and now Sam just shared this...🤦🏽♂️
6 likes

@omarsar0
@langchain I have also used the LangChain functionality for this along with other open-source tools like outlines. Having this capability supported via the APIs is super convenient.
5 likes

@krutosh
@langchain Agreed, although the benefit of having a middle layer is that it provides us with a common API for various LLMs. Most of the time, we require a “fallback model” pattern. It gives us the flexibility to hot-swap GPT or Claude with ease. Learn Ince, Write for All 😅
2 likes

@omarsar0
@langchain Agree. I expect other LLM providers will probably follow up with a similar offering if they don't have it already.
2 likes

@remilouf
Use the OG @OutlinesOSS to get structured outputs with open source models :)
5 likes

@emerleite
Arena for text-to-video AI
4 likes

@samuelRcrider
Bro must not know about Forge ML lol
2 likes

@JakeZegil
Forge makes structured AI output 10x faster and easier - don't wrestle with these giant ugly json objects
2 likes

@adridder
Cool, digging the analysis. Clear explanations are key.
1 like

@wanderer_nish
Gemini already has this kinda response schema and it's doing great...
1 like

@CyrusHakha
I just did a quick write up about this:
1 like

@eamonnedwardo
@readwise save thread @SaveToNotion #thread #chatgpt #structuredoutput

@Farid_j_m
it means that from now, there is no need to output parser of langchain?

@LL_AIlo
Structured outputs aren't magic; they still need clean data and smart prompts to work well.