Documentation
¶
Index ¶
- type LLMSearchService
- func (s *LLMSearchService) SearchStatistics(ctx context.Context, topic string, minStats int) (*models.OrchestrationResponse, error)
- func (s *LLMSearchService) SearchStatisticsWithVerification(ctx context.Context, topic string, minStats int, verifyWithAgent bool) (*models.OrchestrationResponse, error)
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
Click to show internal directories.
Click to hide internal directories.