# Functions
NewBooleanParser returns a new BooleanParser.
NewCombining creates a new combining parser.
NewCommaSeparatedList creates a new CommaSeparatedList.
NewDefined creates an output parser that structures data according to a given schema, as defined by struct field names and types.
NewRegexDict returns a new RegexDict.
NewRegexParser returns a new RegexParser.
No description provided by the author
NewStructured is a function that creates a new structured output parser from a list of response schemas.
# Structs
BooleanParser is an output parser used to parse the output of an LLM as a boolean.
Combining is a parser that combines multiple parsers into one.
CommaSeparatedList is an output parser used to parse the output of an LLM as a string slice.
Defined parses JSON output from an LLM into Go structs.
ParseError is the error type returned by output parsers.
RegexDict is an output parser used to parse the output of an LLM as a map.
RegexParser is an output parser used to parse the output of an LLM as a map.
ResponseSchema is struct used in the structured output parser to describe how the llm should format its response.
Simple is an output parser that does nothing.
Structured is an output parser that parses the output of an LLM into key value pairs.
# Interfaces
OutputParser is an interface for parsing the output of an LLM call.