Skip to content
Threadplane
Pricing
164Talk to Us
@threadplane/angular/chatFunctionv0.3.7

markdownDocument

Creates the atomic document consumed by the streaming Markdown renderer.

View sourceView Markdown
import { markdownDocument } from '@threadplane/angular/chat';

Declaration · overload 1

export declare function markdownDocument(content: string, delivery: MessageDelivery, suffix?: string): StreamingMarkdownDocument;

Parameters

content · required
string
delivery · required
MessageDelivery
suffix · optional
string

Returns

StreamingMarkdownDocument