mongodb-rag-core
Version:
Common elements used by MongoDB Chatbot Framework components.
7 lines • 388 B
TypeScript
/**
Extracts code from markdown by removing all code blocks and returning the rest of the markdown.
If there are no markdown code blocks, the original text is returned.
*/
export declare function extractCodeFromMarkdown(maybeMarkdown: string): string;
export declare function hasMarkdownCodeblock(maybeMarkdown: string): boolean;
//# sourceMappingURL=extractCodeFromMarkdown.d.ts.map