pvanand commited on
Commit
819a3cb
·
verified ·
1 Parent(s): ec94294

Update document_generator.py

Browse files
Files changed (1) hide show
  1. document_generator.py +1 -1
document_generator.py CHANGED
@@ -273,7 +273,7 @@ async def generate_document_stream(document_generator: DocumentGenerator, docume
273
  markdown_document = MarkdownConverter.convert_to_markdown(document_generator.document_outline["Document"])
274
  yield json.dumps({
275
  "type": "complete_document",
276
- "markdown": markdown_document,
277
  "json": document_generator.document_outline
278
  }, ensure_ascii=False) + "\n"
279
 
 
273
  markdown_document = MarkdownConverter.convert_to_markdown(document_generator.document_outline["Document"])
274
  yield json.dumps({
275
  "type": "complete_document",
276
+ "content": markdown_document,
277
  "json": document_generator.document_outline
278
  }, ensure_ascii=False) + "\n"
279