Documentation
¶
Overview ¶
Package parsers contains an interface Parser and implementations used to parse the output of the LLM.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
Parser is an interface that parses a response from an LLM to the given type.
func NewJSONParser ¶
NewJSONParser returns a Parser that parses JSON to the given type.
func NewTextParser ¶
NewTextParser returns a parser that simply returns the raw string input.
Click to show internal directories.
Click to hide internal directories.