summarize

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLMSummarizer

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

func NewLLMSummarizer

func NewLLMSummarizer(client llm.Client, promptTemplate string, temperature float64) *LLMSummarizer

func (*LLMSummarizer) Summarize

func (s *LLMSummarizer) Summarize(ctx context.Context, a model.Article) (model.Summary, error)

type Summarizer

type Summarizer interface {
	Summarize(ctx context.Context, a model.Article) (model.Summary, error)
}

Jump to

Keyboard shortcuts

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