Compare commits

..

3 Commits

Author SHA1 Message Date
Bel LaPointe
3ae62390cf more prompt 2024-04-19 14:18:18 -06:00
Bel LaPointe
5cfb89bc64 up queue timeout to 10min for ai reasons 2024-04-19 14:14:07 -06:00
Bel LaPointe
b554be6282 update prompt 2024-04-19 14:10:48 -06:00
2 changed files with 3 additions and 3 deletions

View File

@@ -56,8 +56,8 @@ func newConfigFromEnv(ctx context.Context, getEnv func(string) string) (Config,
AssetPattern: renderAssetPattern,
DatacenterPattern: renderDatacenterPattern,
EventNamePattern: renderEventNamePattern,
RecapPromptIntro: "A Slack thread begin with the following original post.",
RecapPrompt: "Summarize all of the following Slack thread responses in 1 sentence without any leading text.",
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.",
}
var m map[string]any

View File

@@ -90,7 +90,7 @@ func (q Queue) syn(ctx context.Context) ([]byte, []byte, error) {
topic = $3
AND (
reservation IS NULL
OR $4 - updated > 60
OR $4 - updated > 600
)
LIMIT 1
)