Class ListOutputParser

All Implemented Interfaces:
FormatProvider, OutputParser<List<String>>, Parser<List<String>>

public class ListOutputParser extends AbstractConversionServiceOutputParser<List<String>>
Deprecated.
Use the ListOutputConverter instead. OutputParser implementation that uses a DefaultConversionService to convert the LLM output into a List instance.
Author:
Mark Pollack, Christian Tzolov
  • Constructor Details

    • ListOutputParser

      public ListOutputParser(org.springframework.core.convert.support.DefaultConversionService defaultConversionService)
      Deprecated.
  • Method Details

    • getFormat

      public String getFormat()
      Deprecated.
      Returns:
      Returns a string containing instructions for how the output of a language generative should be formatted.
    • parse

      public List<String> parse(String text)
      Deprecated.