LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    Standard Tests
    Text Splitters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    โŒ˜I

    Chat LangChain

    What can I help with?

    Enter to sendยทShift+Enter new line

    Menu

    MCP Adapters
    Standard Tests
    Text Splitters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Language
    Theme
    Pythonlangchain-classicoutput_parsersstructuredStructuredOutputParserfrom_response_schemas
    Methodโ—Since v1.5

    from_response_schemas

    Copy
    from_response_schemas(
      cls,
      response_schemas: list[ResponseSchema]
    ) -> StructuredOutputParser
    View source on GitHub

    Parameters

    NameTypeDescription
    response_schemas*list[ResponseSchema]

    The schemas for the response.

    Create a StructuredOutputParser from a list of ResponseSchema.