search

package
v0.0.0-...-07cefc5 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

Module implementa Gen2 DataReader para búsqueda web. web_search usa DuckDuckGo (gratuito, sin API key). fetch_url usa HTTP directo para leer páginas web.

func New

func New() *Module

New crea un módulo de búsqueda web. web_search y fetch_url están siempre disponibles.

func (*Module) Init

func (m *Module) Init(deps agent.PortDeps) error

func (*Module) Name

func (m *Module) Name() string

func (*Module) PromptSection

func (m *Module) PromptSection(ctx context.Context, userID string) string

func (*Module) Read

func (m *Module) Read(ctx context.Context, tool string, args map[string]any) (map[string]any, error)

func (*Module) ReadTools

func (m *Module) ReadTools() []agentllm.ToolDef

func (*Module) Schema

func (m *Module) Schema() []string

func (*Module) WriteTools

func (m *Module) WriteTools() []agentllm.ToolDef

Jump to

Keyboard shortcuts

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