@promptbook/remote-client
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
11 lines (10 loc) • 458 B
TypeScript
import type { string_markdown } from '../../types/string_markdown';
/**
* Remove bracketed source citation artifacts like `\u30105:1\u2020source\u3011`.
*
* Note: [??] This function is idempotent.
* Tip: If you want to do the full cleanup, look for `humanizeAiText` exported `@promptbook/markdown-utils`
*
* @public exported from `@promptbook/markdown-utils`
*/
export declare function humanizeAiTextSources(aiText: string_markdown): string_markdown;