Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDescriptions ¶
Types ¶
type ITool ¶
type ITool interface {
// Name returns the name of the Tool.
Name() string
// Description returns the description of the tool, to be used in the prompt.
// Should not exceed LLM model limit.
Description() string
// Parameters returns the parameters definition of the function, to be used in the prompt.
Parameters() any
Call(context.Context, string) (string, error)
}
ITool is a tool for the llm agent to interact with different applications.
Click to show internal directories.
Click to hide internal directories.