Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewParser ¶
NewParser creates a new tool call parser from a model's chat template and a list of provided tools.
func (*Parser) Add ¶
Add processes a string input to parse tool calls and content that should be sent back to the user.
Click to show internal directories.
Click to hide internal directories.