@promptbook/templates
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
39 lines (38 loc) • 1.34 kB
TypeScript
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
import type { AgentModelRequirements } from '../_misc/AgentModelRequirements';
/**
* ACTION commitment definition
*
* The ACTION commitment defines specific actions or capabilities that the agent can perform.
* This helps define what the agent is capable of doing and how it should approach tasks.
*
* Example usage in agent source:
*
* ```book
* ACTION Can generate code snippets and explain programming concepts
* ACTION Able to analyze data and provide insights
* ```
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare class ActionCommitmentDefinition extends BaseCommitmentDefinition<'ACTION'> {
constructor();
/**
* Short one-line description of ACTION.
*/
get description(): string;
/**
* Markdown documentation for ACTION commitment.
*/
get documentation(): string;
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
}
/**
* Singleton instance of the ACTION commitment definition
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare const ActionCommitment: ActionCommitmentDefinition;
/**
* Note: [💞] Ignore a discrepancy between file name and entity name
*/