Documentation
¶
Index ¶
- Variables
- func EditFilePostProcess(ctx context.Context, baseTool tool.InvokableTool, ...) (string, error)
- func FilePostProcess(ctx context.Context, baseTool tool.InvokableTool, ...) (string, error)
- func NewBashTool(op commandline.Operator) tool.InvokableTool
- func NewEditFileTool(op commandline.Operator) tool.InvokableTool
- func NewPythonRunnerTool(op commandline.Operator) tool.InvokableTool
- func NewReadFileTool(op commandline.Operator) tool.InvokableTool
- func NewToolImageReader(visionModel model.BaseChatModel) tool.InvokableTool
- func NewToolSubmitResult(op commandline.Operator) tool.InvokableTool
- func NewTreeTool(op commandline.Operator) tool.InvokableTool
- func NewWrapTool(t tool.InvokableTool, preprocess []ToolRequestPreprocess, ...) tool.InvokableTool
- func ToolRequestRepairJSON(ctx context.Context, baseTool tool.InvokableTool, toolArguments string) (string, error)
- type ToolRequestPreprocess
- type ToolResponsePostprocess
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SubmitResultReturnDirectly = map[string]bool{ "SubmitResult": true, } )
Functions ¶
func EditFilePostProcess ¶
func FilePostProcess ¶
func NewBashTool ¶
func NewBashTool(op commandline.Operator) tool.InvokableTool
func NewEditFileTool ¶
func NewEditFileTool(op commandline.Operator) tool.InvokableTool
func NewPythonRunnerTool ¶
func NewPythonRunnerTool(op commandline.Operator) tool.InvokableTool
func NewReadFileTool ¶
func NewReadFileTool(op commandline.Operator) tool.InvokableTool
func NewToolImageReader ¶
func NewToolImageReader(visionModel model.BaseChatModel) tool.InvokableTool
func NewToolSubmitResult ¶
func NewToolSubmitResult(op commandline.Operator) tool.InvokableTool
func NewTreeTool ¶
func NewTreeTool(op commandline.Operator) tool.InvokableTool
func NewWrapTool ¶
func NewWrapTool(t tool.InvokableTool, preprocess []ToolRequestPreprocess, postprocess []ToolResponsePostprocess) tool.InvokableTool
func ToolRequestRepairJSON ¶
Types ¶
type ToolRequestPreprocess ¶
type ToolResponsePostprocess ¶
Click to show internal directories.
Click to hide internal directories.