Skip to main content

FACT_LIFETIME_INSTRUCTION

Constant FACT_LIFETIME_INSTRUCTION 

Source
pub const FACT_LIFETIME_INSTRUCTION: &str = "Set \"lifetime\":\"transient\" on any fact that \
     describes state likely to change within days: the last command run, a single run's status \
     or result, current disk/CPU/queue numbers, a draft in progress, or today's plan; and on any \
     rule or constraint the user limits to this chat, this task or this request (\"for this chat\", \
     \"this time\", \"don't install anything for this one\"). Omit \"lifetime\" for facts that stay \
     true (names, preferences, project locations, tech stacks).";
Expand description

Extractor prompt sentence that defines the lifetime field.