UNPKG

@promptbook/remote-server

Version:

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

12 lines (11 loc) 704 B
import type { ChatAttachment, ResolveChatAttachmentOptions, ResolvedChatAttachmentContent } from '../chatAttachments'; /** * Resolves inline content previews for each attachment while enforcing global prompt-size limits. * * @param {ReadonlyArray<ChatAttachment>} attachments - The attachments to resolve. * @param {ResolveChatAttachmentOptions} options - Options for resolution. * @returns {Promise<Array<ResolvedChatAttachmentContent>>} The resolved contents. * * @public exported from `@promptbook/core` */ export declare function resolveChatAttachmentContents(attachments: ReadonlyArray<ChatAttachment>, options?: ResolveChatAttachmentOptions): Promise<Array<ResolvedChatAttachmentContent>>;