UNPKG

@promptbook/google

Version:

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

38 lines (37 loc) 1.19 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; } /** * Note: [💞] Ignore a discrepancy between file name and entity name */