@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
12 lines (11 loc) • 519 B
TypeScript
import type { ChatParticipant } from '../types/ChatParticipant';
/**
* Resolves the URL for a citation source by looking up KNOWLEDGE commitments in the agent's source code.
*
* @param source - The source filename (e.g. "document.pdf")
* @param participants - List of chat participants to search in
* @returns The resolved URL if found, or null
*
* @private utility of <Chat/> component
*/
export declare function resolveCitationUrl(source: string, participants: ReadonlyArray<ChatParticipant>): string | null;