Package org.springframework.ai.parser
Class AbstractMessageConverterOutputParser<T>
java.lang.Object
org.springframework.ai.parser.AbstractMessageConverterOutputParser<T>
- Type Parameters:
T
- Specifies the desired response type.
- All Implemented Interfaces:
FormatProvider
,OutputParser<T>
,Parser<T>
- Direct Known Subclasses:
MapOutputParser
public abstract class AbstractMessageConverterOutputParser<T>
extends Object
implements OutputParser<T>
Deprecated.
- Author:
- Mark Pollack, Christian Tzolov
-
Constructor Summary
ConstructorDescriptionAbstractMessageConverterOutputParser
(org.springframework.messaging.converter.MessageConverter messageConverter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.converter.MessageConverter
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.ai.parser.FormatProvider
getFormat
-
Constructor Details
-
AbstractMessageConverterOutputParser
public AbstractMessageConverterOutputParser(org.springframework.messaging.converter.MessageConverter messageConverter) Deprecated.
-
-
Method Details
-
getMessageConverter
public org.springframework.messaging.converter.MessageConverter getMessageConverter()Deprecated.
-
AbstractMessageOutputConverter
instead. AbstractOutputParser
implementation that uses a pre-configuredMessageConverter
to convert the LLM output into the desired type format.