Skip to content

quoted_cot_output_parser

Implementation of the QuotedCoTOutputParser class.

Classes

QuotedCoTOutputParser

Bases: BaseOutputParser[str]

Langchain output parser that introduces a simple chain of thought (CoT) prompt with simplified formatting instructions to enclose the final output in triple quoted strings.

Functions

get_format_instructions
get_format_instructions() -> str
parse
parse(text: str) -> str