Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecCommandTool = openai.ChatCompletionToolParam{ Type: openai.F(openai.ChatCompletionToolTypeFunction), Function: openai.Raw[openai.FunctionDefinitionParam](execCommandFunction), }
View Source
var ExecCommandToolName = execCommandFunction.Name
View Source
var FsCreateOrUpdateTool = openai.ChatCompletionToolParam{ Type: openai.F(openai.ChatCompletionToolTypeFunction), Function: openai.Raw[openai.FunctionDefinitionParam](fsCreateOrUpdateFunction), }
View Source
var FsCreateOrUpdateToolName = fsCreateOrUpdateFunction.Name
View Source
var FsDeleteTool = openai.ChatCompletionToolParam{ Type: openai.F(openai.ChatCompletionToolTypeFunction), Function: openai.Raw[openai.FunctionDefinitionParam](fsDeleteFunction), }
View Source
var FsDeleteToolName = fsDeleteFunction.Name
View Source
var FsReadTool = openai.ChatCompletionToolParam{ Type: openai.F(openai.ChatCompletionToolTypeFunction), Function: openai.Raw[openai.FunctionDefinitionParam](fsReadFunction), }
View Source
var FsReadToolName = fsReadFunction.Name
View Source
var Tools = []openai.ChatCompletionToolParam{ ExecCommandTool, FsCreateOrUpdateTool, FsDeleteTool, FsReadTool, }
Functions ¶
This section is empty.
Types ¶
type ExecCommandArguments ¶
type ExecCommandToolHandler ¶
type ExecCommandToolHandler struct {
// contains filtered or unexported fields
}
func NewExecCommandToolHandler ¶
func NewExecCommandToolHandler(argsJSON, baseDir string) (*ExecCommandToolHandler, error)
type FsCreateOrUpdateToolHandler ¶
type FsCreateOrUpdateToolHandler struct {
// contains filtered or unexported fields
}
func NewFsCreateOrUpdateToolHandler ¶
func NewFsCreateOrUpdateToolHandler(argsJSON, baseDir string) (*FsCreateOrUpdateToolHandler, error)
type FsDeleteArguments ¶
type FsDeleteToolHandler ¶
type FsDeleteToolHandler struct {
// contains filtered or unexported fields
}
func NewFsDeleteToolHandler ¶
func NewFsDeleteToolHandler(argsJSON, baseDir string) (*FsDeleteToolHandler, error)
type FsReadArguments ¶
type FsReadArguments struct {
Path string `json:"path"`
}
type FsReadToolHandler ¶
type FsReadToolHandler struct {
// contains filtered or unexported fields
}
func NewFsReadToolHandler ¶
func NewFsReadToolHandler(argsJSON, baseDir string) (*FsReadToolHandler, error)
Click to show internal directories.
Click to hide internal directories.