UNPKG

@promptbook/remote-server

Version:

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

35 lines (34 loc) 1.11 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * META DISCLAIMER commitment definition * * The META DISCLAIMER commitment stores markdown text that must be acknowledged * by the user before they can chat with the agent. * * Example usage in agent source: * * ```book * META DISCLAIMER * * This agent may provide information that is **not legally binding**. * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class MetaDisclaimerCommitmentDefinition extends BaseCommitmentDefinition<'META DISCLAIMER'> { constructor(); /** * Short one-line description of META DISCLAIMER. */ get description(): string; /** * Icon for this commitment. */ get icon(): string; /** * Markdown documentation for META DISCLAIMER commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }