Documentation
¶
Index ¶
- type AnonymousTool
- type Config
- func (c Config) Description() string
- func (c *Config) EndHook() func(context.Context, AnonymousTool, any, any)
- func (c *Config) ErrorHook() func(context.Context, AnonymousTool, any, error)
- func (c *Config) SetDescription(v string)
- func (c *Config) SetEndHook(fn func(context.Context, AnonymousTool, any, any))
- func (c *Config) SetErrorHook(fn func(context.Context, AnonymousTool, any, error))
- func (c *Config) SetStartHook(fn func(context.Context, AnonymousTool, any))
- func (c *Config) SetTitle(v string)
- func (c *Config) StartHook() func(context.Context, AnonymousTool, any)
- func (c Config) Title() string
- type ITool
- type Option
- func WithDescription(desc string) Option
- func WithEndHook(fn func(context.Context, AnonymousTool, any, any)) Option
- func WithErrorHook(fn func(context.Context, AnonymousTool, any, error)) Option
- func WithStartHook(fn func(context.Context, AnonymousTool, any)) Option
- func WithTitle(title string) Option
- type Tool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnonymousTool ¶ added in v1.0.8
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config class for tools within the Atomic Agents framework
func (Config) Description ¶
func (*Config) SetDescription ¶
func (*Config) SetEndHook ¶ added in v1.0.8
func (*Config) SetErrorHook ¶ added in v1.0.8
func (*Config) SetStartHook ¶ added in v1.0.8
func (c *Config) SetStartHook(fn func(context.Context, AnonymousTool, any))
type Option ¶
type Option func(c *Config)
func WithDescription ¶
func WithEndHook ¶ added in v1.0.8
func WithErrorHook ¶ added in v1.0.8
func WithStartHook ¶ added in v1.0.8
func WithStartHook(fn func(context.Context, AnonymousTool, any)) Option
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 orchestration includes tools orchestration
|
Package orchestration includes tools orchestration |
|
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. |
Click to show internal directories.
Click to hide internal directories.