agent_wrapper

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	AgentTools      []tools.Tool
	AgentName       string
	AgentGoal       string
	AgentBackstory  string
	AgentLLM        string
	LogsWriter      io.Writer
	CallbackHandler callbacks.Handler
}

func (*Tool) Call

func (t *Tool) Call(ctx context.Context, input string) (string, error)

func (*Tool) Description

func (t *Tool) Description() string

func (*Tool) Name

func (t *Tool) Name() string

Jump to

Keyboard shortcuts

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