Help us shape the future of Go! Take the 2026 Go Developer Survey

research

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package research provides a worker for discovering sources via web search.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	worker.WorkerConfig
	AppConfig *config.Config
}

Config configures the research worker.

type Worker

type Worker struct {
	worker.BaseWorker
	// contains filtered or unexported fields
}

Worker finds relevant sources using web search. This worker does NOT use LLM - it's pure search.

func New

func New(cfg Config) *Worker

New creates a new research worker.

func (*Worker) Execute

func (w *Worker) Execute(ctx context.Context, req *worker.Request) (*worker.Response, error)

Execute performs web search for the given topic.

func (*Worker) Init

func (w *Worker) Init(ctx context.Context) error

Init initializes the search service.

Jump to

Keyboard shortcuts

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