Documentation
¶
Index ¶
- Constants
- type Summary
- func (s *Summary) MapReduce(ctx context.Context, docs []string) (string, map[string]int, error)
- func (s *Summary) Stuff(ctx context.Context, docs []string) (string, map[string]int, error)
- func (s *Summary) Summary(ctx context.Context, docs []string, summaryType SummaryType) (string, map[string]int, error)
- type SummaryType
Constants ¶
View Source
const (
DefaultSummaryLimitToken = 4000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Summary ¶
type Summary struct {
// contains filtered or unexported fields
}
func NewSummary ¶
type SummaryType ¶
type SummaryType string
const ( Stuff SummaryType = "Stuff" MapReduce SummaryType = "MapReduce" Refine SummaryType = "Refine" )
Click to show internal directories.
Click to hide internal directories.