UNPKG

@promptbook/vercel

Version:

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

16 lines (15 loc) 816 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; /** * TODO: [🕛] Unite `AgentBasicInformation`, `ChatParticipant`, `LlmExecutionTools` + `LlmToolsMetadata` */