Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Prompt string
Functions ¶
This section is empty.
Types ¶
type Summarizer ¶
type Summarizer struct {
Model string
Read map[string]func(sid, reply string) (string, error)
// contains filtered or unexported fields
}
func (*Summarizer) Forget ¶
func (s *Summarizer) Forget(sid string)
func (*Summarizer) Get ¶
func (s *Summarizer) Get(t history.Transcript) *Summary
func (*Summarizer) Wait ¶
func (s *Summarizer) Wait(ctx context.Context, t history.Transcript) *Summary
func (*Summarizer) Want ¶
func (s *Summarizer) Want(t history.Transcript) bool
Click to show internal directories.
Click to hide internal directories.