UNPKG

@promptbook/vercel

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

36 lines (35 loc) 1.33 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * DELETE commitment definition * * The DELETE commitment (and its aliases CANCEL, DISCARD, REMOVE) is used to * remove or disregard certain information or context. This can be useful for * overriding previous commitments or removing unwanted behaviors. * * Example usage in agent source: * * ```book * DELETE Previous formatting requirements * CANCEL All emotional responses * DISCARD Technical jargon explanations * REMOVE Casual conversational style * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class DeleteCommitmentDefinition extends BaseCommitmentDefinition<'DELETE' | 'CANCEL' | 'DISCARD' | 'REMOVE'> { constructor(type: 'DELETE' | 'CANCEL' | 'DISCARD' | 'REMOVE'); /** * Short one-line description of DELETE/CANCEL/DISCARD/REMOVE. */ get description(): string; /** * Markdown documentation for DELETE commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; } /** * Note: [💞] Ignore a discrepancy between file name and entity name */