Documentation ¶
Index ¶
- func Execute(ctx context.Context, tool llmcomposer.Tool, input string) (string, error)
- type Tool
- func AppendFile(store llmcomposer.FileStore) *Tool
- func Calculator() *Tool
- func ExecuteBash(workingDir string) *Tool
- func New(name, description string, args []string, fn ToolFunc) *Tool
- func ReadFile(store llmcomposer.FileStore) *Tool
- func WebBrowser() *Tool
- func WriteFile(store llmcomposer.FileStore) *Tool
- type ToolFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
func AppendFile ¶
func AppendFile(store llmcomposer.FileStore) *Tool
func Calculator ¶
func Calculator() *Tool
func ExecuteBash ¶
ExecuteBash is a tool that executes external commands in a Unix-based system. TODO: Add support for Windows.
func ReadFile ¶
func ReadFile(store llmcomposer.FileStore) *Tool
func WebBrowser ¶
func WebBrowser() *Tool
func WriteFile ¶
func WriteFile(store llmcomposer.FileStore) *Tool
func (*Tool) Description ¶
Click to show internal directories.
Click to hide internal directories.