@promptbook/browser
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
36 lines (35 loc) • 1.04 kB
TypeScript
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
/**
* OPEN commitment definition
*
* The OPEN commitment specifies that the agent can be modified by conversation.
* This is the default behavior.
*
* Example usage in agent source:
*
* ```book
* OPEN
* ```
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare class OpenCommitmentDefinition extends BaseCommitmentDefinition<'OPEN'> {
constructor();
/**
* Short one-line description of OPEN.
*/
get description(): string;
/**
* Icon for this commitment.
*/
get icon(): string;
/**
* Markdown documentation for OPEN commitment.
*/
get documentation(): string;
applyToAgentModelRequirements(requirements: AgentModelRequirements, _content: string): AgentModelRequirements;
}
/**
* Note: [💞] Ignore a discrepancy between file name and entity name
*/