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

synthesis

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: 14 Imported by: 0

Documentation

Overview

Package synthesis provides a worker for extracting statistics from web content.

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 synthesis worker.

type Worker

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

Worker extracts statistics from webpage content using LLM.

func New

func New(cfg Config) *Worker

New creates a new synthesis worker.

func (*Worker) Execute

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

Execute extracts statistics from the provided search results.

func (*Worker) Init

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

Init initializes the LLM model.

Jump to

Keyboard shortcuts

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