Skip to main content

Output Parser

OutputParser typeclass provides an interface that parses Text (usually LLM output) into desired type. langchain-hs provides some common types, out of the box:

  • CommaSeparatedList
  • JSONOutputStructure
  • NumberSeparatedList