mongodb-rag-core
Version:
Common elements used by MongoDB Chatbot Framework components.
8 lines • 420 B
TypeScript
/**
Utility function to remove markdown images and links from a string.
Useful if you do not want to include images and links in content,
which can add significantly add to the token count when creating embeddings
while also diluting the semantic meaning of the content.
*/
export declare function removeMarkdownImagesAndLinks(content: string): string;
//# sourceMappingURL=removeMarkdownImagesAndLinks.d.ts.map