Class MapOutputParser

All Implemented Interfaces:
FormatProvider, OutputParser<Map<String,Object>>, Parser<Map<String,Object>>

public class MapOutputParser extends AbstractMessageConverterOutputParser<Map<String,Object>>
Deprecated.
Use the MapOutputConverter instead. OutputParser implementation that uses a pre-configured MappingJackson2MessageConverter to convert the LLM output into a java.util.Map<String, Object> instance.
Author:
Mark Pollack, Christian Tzolov
  • Constructor Details

    • MapOutputParser

      public MapOutputParser()
      Deprecated.
  • Method Details

    • parse

      public Map<String,Object> parse(String text)
      Deprecated.
    • getFormat

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