接口 OutputParser<T>

类型参数:
T - the type of the output.

public interface OutputParser<T>
Represents an output parser.
  • 方法概要

    修饰符和类型
    方法
    说明
    Description of the text format.
    parse(String text)
    Parse the given text.
  • 方法详细资料

    • parse

      T parse(String text)
      Parse the given text.
      参数:
      text - the text to parse.
      返回:
      the parsed output.
    • formatInstructions

      String formatInstructions()
      Description of the text format.
      返回:
      the description of the text format.