@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
14 lines (13 loc) • 578 B
TypeScript
import type { string_markdown } from '../../types/typeAliases';
/**
* 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;
/**
* Note: [??] This function is not tested by itself but together with other cleanup functions with `humanizeAiText`
*/