UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

27 lines (26 loc) 931 B
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * `WRITING RULES` commitment definition. * * It adds constraints that apply strictly to writing style and presentation * rather than task-solving behavior. * * @private [🪔] Maybe export the commitments through some package */ export declare class WritingRulesCommitmentDefinition extends BaseCommitmentDefinition<'WRITING RULES'> { constructor(); /** * Short one-line description of `WRITING RULES`. */ get description(): string; /** * Icon for `WRITING RULES`. */ get icon(): string; /** * Markdown documentation for `WRITING RULES`. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }