@promptbook/utils
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
21 lines (20 loc) • 544 B
TypeScript
import type { Usage } from '../../execution/Usage';
import type { number_id } from '../../types/number_id';
import type { string_promptbook_version } from '../../version';
/**
* JSON shape for preparation.
*/
export type PreparationJson = {
/**
* Incremental ID of the preparation
*/
readonly id: number_id;
/**
* Version of the promptbook used for the preparation
*/
readonly promptbookVersion: string_promptbook_version;
/**
* Usage of the prompt execution
*/
readonly usage: Usage;
};