tools

package
v0.0.0-...-98aaa83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package tools defines a standard interface for tools to be used by agents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool interface {
	Name() string
	Description() string
	Parameters() any
	Call(ctx context.Context, input string) (string, error)
}

Tool is a tool for the llm agent to interact with different applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL