@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
27 lines (26 loc) • 964 B
TypeScript
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
/**
* `WRITING SAMPLE` commitment definition.
*
* It provides explicit sample-only text that demonstrates how the agent should
* sound, without adding meta commentary or behavioral rules.
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare class WritingSampleCommitmentDefinition extends BaseCommitmentDefinition<'WRITING SAMPLE'> {
constructor();
/**
* Short one-line description of `WRITING SAMPLE`.
*/
get description(): string;
/**
* Icon for `WRITING SAMPLE`.
*/
get icon(): string;
/**
* Markdown documentation for `WRITING SAMPLE`.
*/
get documentation(): string;
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
}