agent

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataAnalysisAgent

type DataAnalysisAgent struct {
	LLM   llms.Model
	Tools []tools.Tool
}

func (*DataAnalysisAgent) Call

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

Call invokes the MCP tool with the given input and returns the result.

func (*DataAnalysisAgent) Description

func (t *DataAnalysisAgent) Description() string

Description returns the description of the tool along with its input schema.

func (*DataAnalysisAgent) Name

func (t *DataAnalysisAgent) Name() string

type DeviceManagerAgent

type DeviceManagerAgent struct {
	LLM   llms.Model
	Tools []tools.Tool
}

func (*DeviceManagerAgent) Call

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

Call invokes the MCP tool with the given input and returns the result.

func (*DeviceManagerAgent) Description

func (t *DeviceManagerAgent) Description() string

Description returns the description of the tool along with its input schema.

func (*DeviceManagerAgent) Name

func (t *DeviceManagerAgent) Name() string

Jump to

Keyboard shortcuts

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