Package org.springframework.ai.parser
Class ListOutputParser
java.lang.Object
org.springframework.ai.parser.AbstractConversionServiceOutputParser<List<String>>
org.springframework.ai.parser.ListOutputParser
- All Implemented Interfaces:
FormatProvider
,OutputParser<List<String>>
,Parser<List<String>>
Deprecated.
- Author:
- Mark Pollack, Christian Tzolov
-
Constructor Summary
ConstructorDescriptionListOutputParser
(org.springframework.core.convert.support.DefaultConversionService defaultConversionService) Deprecated. -
Method Summary
Methods inherited from class org.springframework.ai.parser.AbstractConversionServiceOutputParser
getConversionService
-
Constructor Details
-
ListOutputParser
public ListOutputParser(org.springframework.core.convert.support.DefaultConversionService defaultConversionService) Deprecated.
-
-
Method Details
-
getFormat
Deprecated.- Returns:
- Returns a string containing instructions for how the output of a language generative should be formatted.
-
parse
Deprecated.
-
ListOutputConverter
instead.OutputParser
implementation that uses aDefaultConversionService
to convert the LLM output into aList
instance.