UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

13 lines (12 loc) 700 B
import type { AgentBasicInformation } from './AgentBasicInformation'; import type { string_book } from './string_book'; /** * Parses basic information from agent source * * There are 2 similar functions: * - `parseAgentSource` which is a lightweight parser for agent source, it parses basic information and its purpose is to be quick and synchronous. The commitments there are hardcoded. * - `createAgentModelRequirements` which is an asynchronous function that creates model requirements it applies each commitment one by one and works asynchronously. * * @public exported from `@promptbook/core` */ export declare function parseAgentSource(agentSource: string_book): AgentBasicInformation;