@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
13 lines (12 loc) • 744 B
TypeScript
import type { InlineKnowledgeSourceUploader } from '../../../utils/knowledge/inlineKnowledgeSource';
import type { AgentModelRequirements } from '../AgentModelRequirements';
/**
* Converts staged inline knowledge files into the final knowledge source URLs stored on requirements.
*
* @param requirements - Current requirements snapshot.
* @param uploader - Optional uploader for inline knowledge files.
* @returns Requirements with inline knowledge converted into upload URLs or data URLs.
*
* @private function of `createAgentModelRequirementsWithCommitments`
*/
export declare function materializeInlineKnowledgeSources(requirements: AgentModelRequirements, uploader?: InlineKnowledgeSourceUploader): Promise<AgentModelRequirements>;