@promptbook/openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
36 lines (35 loc) • 1.16 kB
TypeScript
import type { AgentModelRequirements } from '../../book-2.0/agent-source/AgentModelRequirements';
import { BaseCommitmentDefinition } from '../_base/BaseCommitmentDefinition';
/**
* MESSAGE SUFFIX commitment definition
*
* The MESSAGE SUFFIX commitment stores a hardcoded message that is appended
* to every assistant response in Agents Server runtimes.
*
* Example usage in agent source:
*
* ```book
* MESSAGE SUFFIX This message was generated by Promptbook.
* ```
*
* @private [🪔] Maybe export the commitments through some package
*/
export declare class MessageSuffixCommitmentDefinition extends BaseCommitmentDefinition<'MESSAGE SUFFIX'> {
constructor();
/**
* Short one-line description of MESSAGE SUFFIX.
*/
get description(): string;
/**
* Icon for this commitment.
*/
get icon(): string;
/**
* Markdown documentation for MESSAGE SUFFIX commitment.
*/
get documentation(): string;
applyToAgentModelRequirements(requirements: AgentModelRequirements, content: string): AgentModelRequirements;
}
/**
* Note: [💞] Ignore a discrepancy between file name and entity name
*/