LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangChain
  • Browser
  • Universal
  • Hub
  • Node
  • Load
  • Serializable
  • Encoder Backed
  • File System
  • In Memory
  • Tools
LangChain Core
  • Agents
  • Caches
  • Base
  • Dispatch
  • Web
  • Manager
  • Promises
  • Chat History
  • Context
  • Base
  • Langsmith
  • Documents
  • Embeddings
  • Errors
  • Example Selectors
  • Indexing
  • Base
  • Chat Models
  • Compat
  • Event
  • Llms
  • Openai Completions Stream
  • Profile
  • Stream
  • Structured Output
  • Load
  • Serializable
  • Memory
  • Messages
  • Tool
  • Output Parsers
  • Openai Functions
  • Openai Tools
  • Outputs
  • Prompt Values
  • Prompts
  • Retrievers
  • Document Compressors
  • Runnables
  • Graph
  • Singletons
  • Stores
  • Structured Query
  • Testing
  • Tools
  • Base
  • Console
  • Log Stream
  • Run Collector
  • Tracer Langchain
  • Stream
  • Async Caller
  • Chunk Array
  • Context
  • Env
  • Event Source Parse
  • Format
  • Function Calling
  • Hash
  • Json Patch
  • Json Schema
  • Math
  • Ssrf
  • Standard Schema
  • Stream
  • Testing
  • Tiktoken
  • Types
  • Uuid
  • Vectorstores
Text Splitters
MCP Adapters
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangChain
BrowserUniversalHubNodeLoadSerializableEncoder BackedFile SystemIn MemoryTools
LangChain Core
AgentsCachesBaseDispatchWebManagerPromisesChat HistoryContextBaseLangsmithDocumentsEmbeddingsErrorsExample SelectorsIndexingBaseChat ModelsCompatEventLlmsOpenai Completions StreamProfileStreamStructured OutputLoadSerializableMemoryMessagesToolOutput ParsersOpenai FunctionsOpenai ToolsOutputsPrompt ValuesPromptsRetrieversDocument CompressorsRunnablesGraphSingletonsStoresStructured QueryTestingToolsBaseConsoleLog StreamRun CollectorTracer LangchainStreamAsync CallerChunk ArrayContextEnvEvent Source ParseFormatFunction CallingHashJson PatchJson SchemaMathSsrfStandard SchemaStreamTestingTiktokenTypesUuidVectorstores
Text Splitters
MCP Adapters
Language
Theme
JavaScript@langchain/coreoutput_parsersBaseCumulativeTransformOutputParser
Class●Since v0.3

BaseCumulativeTransformOutputParser

Copy
class BaseCumulativeTransformOutputParser

Bases

BaseTransformOutputParser<T>

Constructors

Properties

Methods

Inherited fromBaseTransformOutputParser

Properties

Plc_kwargsPlc_namespacePlc_runnablePlc_serializableP
View source on GitHub
name
Plc_aliases
Plc_attributes
Plc_id
Plc_secrets
Plc_serializable_keys

Methods

M_baseMessageContentToStringM_baseMessageToStringM_batchWithConfigM_callWithConfigM_getOptionsListM_separateRunnableConfigFromCallOptionsM_streamIteratorM_streamLogM_transformM_transformStreamWithConfigM_typeMassignMasToolMbatchMgetFormatInstructionsMgetGraphMgetNameMinvokeMparseMparseResultMparseResultWithPromptMparseWithPromptMpickMpipeMstreamMstreamEventsMstreamLogMtoJSONMtoJSONNotImplementedMtransformMwithConfigMwithFallbacksMwithListenersMwithRetryMisRunnableMlc_name

Inherited fromBaseOutputParser

Properties

Plc_kwargsPlc_namespacePlc_runnablePlc_serializablePnamePlc_aliasesPlc_attributesPlc_idPlc_secretsPlc_serializable_keys

Methods

M_baseMessageContentToStringM_baseMessageToStringM_batchWithConfigM_callWithConfigM_getOptionsListM

Inherited fromBaseLLMOutputParser

Properties

Plc_kwargsPlc_namespacePlc_runnablePlc_serializablePnamePlc_aliasesPlc_attributesPlc_idPlc_secretsPlc_serializable_keys

Methods

M_baseMessageContentToStringM_baseMessageToStringM_batchWithConfigM_callWithConfigM_getOptionsList

Inherited fromRunnable

Properties

Plc_kwargsPlc_namespacePlc_runnablePlc_serializablePnamePlc_aliasesPlc_attributesPlc_idPlc_secretsPlc_serializable_keys

Methods

M_batchWithConfigM_callWithConfigM_getOptionsListM_separateRunnableConfigFromCallOptionsM_streamIteratorM_streamLog

Inherited fromSerializable

Properties

Plc_kwargsPlc_namespacePlc_serializablePlc_aliasesPlc_attributesPlc_idPlc_secretsPlc_serializable_keys

Methods

MtoJSONMtoJSONNotImplementedMlc_name
constructor
constructor
property
diff: boolean
property
lc_kwargs: SerializedFields
property
lc_namespace: string[]
property
lc_runnable: boolean
property
lc_serializable: boolean
property
name: string
property
lc_aliases
property
lc_attributes
property
lc_id
property
lc_secrets
property
lc_serializable_keys
method
_baseMessageContentToString
method
_baseMessageToString
method
_batchWithConfig
method
_callWithConfig
method
_diff
method
_getOptionsList
method
_separateRunnableConfigFromCallOptions
method
_streamIterator
method
_streamLog
method
_transform
method
_transformStreamWithConfig
method
_type
method
assign
method
asTool
method
batch
method
getFormatInstructions
method
getGraph
method
getName
method
invoke
method
parse
method
parsePartialResult
method
parseResult
method
parseResultWithPrompt
method
parseWithPrompt
method
pick
method
pipe
method
stream
method
streamEvents
method
streamLog
method
toJSON
method
toJSONNotImplemented
method
transform
method
withConfig
method
withFallbacks
method
withListeners
method
withRetry
method
isRunnable
method
lc_name

A base class for output parsers that can handle streaming input. It extends the BaseTransformOutputParser class and provides a method for converting parsed outputs into a diff format.

_separateRunnableConfigFromCallOptions
M_streamIterator
M_streamLog
M_transformStreamWithConfig
M_type
Massign
MasTool
Mbatch
MgetFormatInstructions
MgetGraph
MgetName
Minvoke
Mparse
MparseResult
MparseResultWithPrompt
MparseWithPrompt
Mpick
Mpipe
Mstream
MstreamEvents
MstreamLog
MtoJSON
MtoJSONNotImplemented
Mtransform
MwithConfig
MwithFallbacks
MwithListeners
MwithRetry
MisRunnable
Mlc_name
M
_separateRunnableConfigFromCallOptions
M_streamIterator
M_streamLog
M_transformStreamWithConfig
Massign
MasTool
Mbatch
MgetGraph
MgetName
Minvoke
MparseResult
MparseResultWithPrompt
Mpick
Mpipe
Mstream
MstreamEvents
MstreamLog
MtoJSON
MtoJSONNotImplemented
Mtransform
MwithConfig
MwithFallbacks
MwithListeners
MwithRetry
MisRunnable
Mlc_name
M_transformStreamWithConfig
Massign
MasTool
Mbatch
MgetGraph
MgetName
Minvoke
Mpick
Mpipe
Mstream
MstreamEvents
MstreamLog
MtoJSON
MtoJSONNotImplemented
Mtransform
MwithConfig
MwithFallbacks
MwithListeners
MwithRetry
MisRunnable
Mlc_name