mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 00:01:14 +00:00
15ef9d4994
Add warmup content generation and admin review surfaces, plus mailbox warmup appeal/status APIs. Track warmup engagement and tampering signals so unsafe mailboxes can be handled by the warmup flow.
12 lines
869 B
Go
12 lines
869 B
Go
package generation
|
|
|
|
// Conversation is the structured output of warmup content generation. The
|
|
// shape matches how the warmup renderer consumes content: it composes the
|
|
// greeting, sign-off and signature itself, so Description is the opening body
|
|
// text only (no greeting/signature) and Messages are follow-up question lines.
|
|
type Conversation struct {
|
|
Subject string `json:"subject" jsonschema:"description=Short lowercase-natural subject line, 2-6 words, never prefixed with Re:"`
|
|
Description string `json:"description" jsonschema:"description=The opening message body ONLY: a couple of short natural sentences. No greeting, no sign-off, no signature, no subject line."`
|
|
Messages []string `json:"messages" jsonschema:"description=Short natural follow-up question lines, one sentence each, that could continue the thread. No greeting or sign-off."`
|
|
}
|