LangChain · Interface
BaseOutputParser
BaseOutputParser is the base class for turning language model output into a chosen type. Create a subclass and define how its text should be parsed.
Last updated
- Since
- v1.7
Syntax
class BaseOutputParser(BaseLLMOutputParser[T], RunnableSerializable[LanguageModelOutput, T])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BaseLLMOutputParserRunnableSerializableOutputParserExceptionBasePromptTemplate.output_parser