LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
    • Overview
    • Caches
    • Callbacks
    • Documents
    • Document loaders
    • Embeddings
    • Exceptions
    • Language models
    • Serialization
    • Output parsers
    • Prompts
    • Rate limiters
    • Retrievers
    • Runnables
    • Utilities
    • Vector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    OverviewCachesCallbacksDocumentsDocument loadersEmbeddingsExceptionsLanguage modelsSerializationOutput parsersPromptsRate limitersRetrieversRunnablesUtilitiesVector stores
    MCP Adapters
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-coreoutput_parserslist
    Module●Since v0.1

    list

    Parsers for list output.

    Attributes

    attribute
    T

    Functions

    function
    droplastn

    Drop the last n elements of an iterator.

    Classes

    class
    BaseMessage

    Base abstract message class.

    Messages are the inputs and outputs of a chat model.

    Examples include HumanMessage, AIMessage, and SystemMessage.

    class
    BaseTransformOutputParser

    Base class for an output parser that can handle streaming input.

    class
    ListOutputParser

    Parse the output of a model to a list.

    class
    CommaSeparatedListOutputParser

    Parse the output of a model to a comma-separated list.

    class
    NumberedListOutputParser

    Parse a numbered list.

    class
    MarkdownListOutputParser

    Parse a Markdown list.

    View source on GitHub