Class NoOpOutputParser

All Implemented Interfaces:
Serializable

public class NoOpOutputParser extends BaseOutputParser<String>
Output parser that just returns the text as is.
Author:
HamaWhite
See Also:
  • Constructor Details

    • NoOpOutputParser

      public NoOpOutputParser()
  • Method Details

    • parse

      public String parse(String text)
      Description copied from class: BaseOutputParser
      Parse the output of an LLM call. A method which takes in a string (assumed output of a language model) and parses it into some structure.
      Specified by:
      parse in class BaseOutputParser<String>
      Parameters:
      text - output of language model
      Returns:
      structured output