---
title: "Generating Structured Output From OpenAI, Anthropic, and Azure AI Using LangChain following Pydantic Approach"
url: https://daily.dev/posts/generating-structured-output-from-openai-anthropic-and-azure-ai-using-langchain-following-pydantic-3ioz2xfia
source_url: https://blog.gopenai.com/generating-structured-output-from-openai-anthropic-and-azure-ai-using-langchain-following-375b9af2e1e0
type: article
source: "GoPenAI"
published: 2024-05-09T14:42:23.120Z
updated: 2025-09-06T02:41:09.564Z
tags: ["anthropic", "azure-ai", "langchain", "openai"]
reading_time: 4
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Generating Structured Output From OpenAI, Anthropic, and Azure AI Using LangChain following Pydantic Approach

**[GoPenAI](https://daily.dev/sources/gopenai)** · 4 min read · 1 upvotes · 0 comments

## Summary

Learn how to generate structured output from OpenAI, Anthropic, and Azure AI using LangChain and Pydantic. Standardize the output obtained from language models for easy manipulation programmatically.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.gopenai.com/generating-structured-output-from-openai-anthropic-and-azure-ai-using-langchain-following-375b9af2e1e0>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#anthropic](https://daily.dev/tags/anthropic), [#azure-ai](https://daily.dev/tags/azure-ai), [#langchain](https://daily.dev/tags/langchain), [#openai](https://daily.dev/tags/openai)

[View this post on daily.dev](https://daily.dev/posts/generating-structured-output-from-openai-anthropic-and-azure-ai-using-langchain-following-pydantic-3ioz2xfia)
