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

direct

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLMSearchService

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

LLMSearchService provides direct LLM-based statistics search (like ChatGPT)

func NewLLMSearchService

func NewLLMSearchService(cfg *config.Config) (*LLMSearchService, error)

NewLLMSearchService creates a new direct LLM search service

func (*LLMSearchService) SearchStatistics

func (s *LLMSearchService) SearchStatistics(ctx context.Context, topic string, minStats int) (*models.OrchestrationResponse, error)

SearchStatistics uses LLM directly to find statistics (like ChatGPT with web search) If verifyWithAgent is true, sends LLM claims to verification agent for actual web verification

func (*LLMSearchService) SearchStatisticsWithVerification

func (s *LLMSearchService) SearchStatisticsWithVerification(ctx context.Context, topic string, minStats int, verifyWithAgent bool) (*models.OrchestrationResponse, error)

SearchStatisticsWithVerification allows optional verification agent integration

Jump to

Keyboard shortcuts

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