LangChain - Output Parsers
You want to use
StrOutputParser to handle output from a language model that returns a JSON string. You want to keep the raw JSON string without parsing it into a dictionary. Which approach is best?