@threadplane/chatInterfacev0.3.4

StreamingMarkdownDocument

An atomic markdown snapshot whose generation identifies one append-only stream ending in completion.

import type { StreamingMarkdownDocument } from '@threadplane/chat';

Declaration

export interface StreamingMarkdownDocument  {
  readonly content: string;
  readonly generation: string;
  readonly phase: 'streaming' | 'complete';
}

Members

content

readonly content: string;

generation

readonly generation: string;

phase

readonly phase: 'streaming' | 'complete';