UNPKG

@promptbook/google

Version:

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

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