Documentation
¶
Index ¶
- type Module
- func (m *Module) Init(deps agent.PortDeps) error
- func (m *Module) Name() string
- func (m *Module) PromptSection(ctx context.Context, userID string) string
- func (m *Module) Read(ctx context.Context, tool string, args map[string]any) (map[string]any, error)
- func (m *Module) ReadTools() []agentllm.ToolDef
- func (m *Module) Schema() []string
- func (m *Module) WriteTools() []agentllm.ToolDef
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) PromptSection ¶
func (*Module) WriteTools ¶
Click to show internal directories.
Click to hide internal directories.