UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

26 lines (25 loc) 1.03 kB
import type { PartialDeep } from 'type-fest'; import type { AgentBasicInformation } from '../../book-2.0/agent-source/AgentBasicInformation'; import type { string_book } from '../../book-2.0/agent-source/string_book'; import type { string_agent_name_in_book } from '../../types/typeAliases'; type GenerateBookBoilerplateOptions = PartialDeep<Omit<AgentBasicInformation, 'parameters'>> & { /** * Name of the parent agent to inherit from * * @default 'Adam' */ parentAgentName?: string_agent_name_in_book; }; /** * Generates boilerplate for a new agent book * * Note: `$` is used to indicate that this function is not a pure function - it is not deterministic * Note: This function is using cryptographically secure components internally * * @public exported from `@promptbook/core` */ export declare function $generateBookBoilerplate(options?: GenerateBookBoilerplateOptions): string_book; export {}; /** * TODO: [🤶] Maybe export through `@promptbook/utils` or `@promptbook/random` package */