UNPKG

@promptbook/gemini

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

23 lines (22 loc) 810 B
import type { PromptResultUsage } from '../../execution/PromptResultUsage'; import type { number_id } from '../../types/typeAliases'; import type { string_promptbook_version } from '../../version'; 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: PromptResultUsage; }; /** * TODO: [🍙] Make some standard order of json properties * TODO: Maybe put here used `modelName` * TODO: [🍥] When using `date` it changes all examples .book.json files each time so until some more elegant solution omit the time from prepared pipeline */