UNPKG

@promptbook/remote-server

Version:

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

35 lines (34 loc) 1.18 kB
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements'; import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition'; /** * USE IMAGE GENERATOR commitment definition * * The `USE IMAGE GENERATOR` commitment indicates that the agent can output * markdown placeholders for UI-driven image generation. * * Example usage in agent source: * * ```book * USE IMAGE GENERATOR * USE IMAGE GENERATOR Create realistic images of nature * ``` * * @private [🪔] Maybe export the commitments through some package */ export declare class UseImageGeneratorCommitmentDefinition extends BaseCommitmentDefinition<'USE IMAGE GENERATOR'> { constructor(type?: 'USE IMAGE GENERATOR'); get requiresContent(): boolean; /** * Short one-line description of USE IMAGE GENERATOR. */ get description(): string; /** * Icon for this commitment. */ get icon(): string; /** * Markdown documentation for USE IMAGE GENERATOR commitment. */ get documentation(): string; applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements; }