UNPKG

@promptbook/remote-client

Version:

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

29 lines (28 loc) 1.05 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * INITIAL MESSAGE commitment definition * * The INITIAL MESSAGE commitment defines the first message that the user sees when opening the chat. * It is used to greet the user and set the tone of the conversation. * * Example usage in agent source: * * ```book * INITIAL MESSAGE Hello! I am ready to help you with your tasks. * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class InitialMessageCommitmentDefinition extends BaseCommitmentDefinition<'INITIAL MESSAGE'> { constructor(); /** * Short one-line description of INITIAL MESSAGE. */ get description(): string; /** * Markdown documentation for INITIAL MESSAGE commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }