Initial push to gitea
This commit is contained in:
13
internal/summarize/summarize.go
Normal file
13
internal/summarize/summarize.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Package summarize turns a transcript + system prompt into a markdown summary.
|
||||
package summarize
|
||||
|
||||
import "context"
|
||||
|
||||
// Summarizer produces a markdown summary (or other generation) guided by
|
||||
// systemPrompt and given the user-message body. The body is passed verbatim:
|
||||
// callers are responsible for any framing like "Transcript:", "Producer's
|
||||
// notes:", or timestamped segment formatting.
|
||||
type Summarizer interface {
|
||||
Summarize(ctx context.Context, systemPrompt, userContent string) (string, error)
|
||||
Name() string
|
||||
}
|
||||
Reference in New Issue
Block a user