Compare commits
5 Commits
3ae62390cf
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31fe916000 | ||
|
|
d31042e971 | ||
|
|
2e7d58fd13 | ||
|
|
93672e67a6 | ||
|
|
1b06f727fd |
@@ -57,7 +57,7 @@ func newConfigFromEnv(ctx context.Context, getEnv func(string) string) (Config,
|
||||
DatacenterPattern: renderDatacenterPattern,
|
||||
EventNamePattern: renderEventNamePattern,
|
||||
RecapPromptIntro: "A Slack thread began with the following original post.",
|
||||
RecapPrompt: "In 1 sentence and without any leading text and as briefly as possible, summarize all of the following Slack thread responses.",
|
||||
RecapPrompt: "What is the summary of the responses to the Slack thread consisting of the following messages? Limit the summary to one sentence. Do not include any leading text. Be as brief as possible. No context is needed.",
|
||||
}
|
||||
|
||||
var m map[string]any
|
||||
|
||||
3
recap.go
3
recap.go
@@ -70,6 +70,9 @@ func newPersistenceToRecapProcess(cfg Config) processFunc {
|
||||
return err
|
||||
}
|
||||
log.Println("recapped", thread.ID)
|
||||
if cfg.Debug {
|
||||
log.Printf("Recapped %q as %q from %q/%q and %+v", thread.ID, thread.Recap, cfg.RecapPromptIntro, cfg.RecapPrompt, messages)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user