UNPKG

@promptbook/remote-server

Version:

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

13 lines (12 loc) 757 B
import type { ChatAttachment, ResolveChatAttachmentOptions, ResolvedChatAttachmentContent } from '../chatAttachments'; /** * Downloads and resolves one attachment into inline text context when possible. * * @param {ChatAttachment} attachment - The attachment to resolve. * @param {number} maxInlineCharacters - Maximum number of characters to inline. * @param {ResolveChatAttachmentOptions} options - Options for resolution. * @returns {Promise<ResolvedChatAttachmentContent>} The resolved content. * * @private function of resolveChatAttachmentContents */ export declare function resolveChatAttachmentContent(attachment: ChatAttachment, maxInlineCharacters: number, options?: ResolveChatAttachmentOptions): Promise<ResolvedChatAttachmentContent>;