tools

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config class for tools within the Atomic Agents framework

func (Config) Description

func (c Config) Description() string

func (*Config) SetDescription

func (c *Config) SetDescription(v string)

func (*Config) SetTitle

func (c *Config) SetTitle(v string)

func (Config) Title

func (c Config) Title() string

type Option

type Option func(c *Config)

func WithDescription

func WithDescription(desc string) Option

func WithTitle

func WithTitle(title string) Option

type Tool

type Tool[I schema.Schema, O schema.Schema] interface {
	SetTitle(string)
	Title() string
	SetDescription(string)
	Description() string
	Run(context.Context, *I) (*O, error)
}

Directories

Path Synopsis
Package calculator The Calculator Tool is a utility within the Atomic Agents ecosystem designed for performing a variety of mathematical calculations.
Package calculator The Calculator Tool is a utility within the Atomic Agents ecosystem designed for performing a variety of mathematical calculations.
Package searxng The SearxNG Search Tool is a powerful utility within the Atomic Agents ecosystem that allows you to perform searches using SearxNG, a privacy-respecting metasearch engine.
Package searxng The SearxNG Search Tool is a powerful utility within the Atomic Agents ecosystem that allows you to perform searches using SearxNG, a privacy-respecting metasearch engine.
Package webscraper The Webpage Scraper Tool is a utility within the Atomic Agents ecosystem designed for scraping web content and converting it to markdown format.
Package webscraper The Webpage Scraper Tool is a utility within the Atomic Agents ecosystem designed for scraping web content and converting it to markdown format.

Jump to

Keyboard shortcuts

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