🔀Output Parsers

An output parser acts as a translator between LLMs and your application. It takes the raw, unformatted text generated by an LLM and transforms it into a more usable format suited for your needs.

1)CSV Output Parser

Parse the output of an LLM call as a comma-separated list of values.

2)Custom List Output Parser

Parse the output of an LLM call as a list of values.

3)Structured Output Parser

Parse the output of an LLM call into a given (JSON) structure.

4)Advanced Structured Output Parser

Parse the output of an LLM call into a given structure by providing a Zod schema.

Last updated