pvanand commited on
Commit
312b1c2
·
verified ·
1 Parent(s): d6ef585

Update document_generator_v3.py

Browse files
Files changed (1) hide show
  1. document_generator_v3.py +1 -1
document_generator_v3.py CHANGED
@@ -468,7 +468,7 @@ async def generate_document_stream(document_generator: DocumentGenerator, docume
468
  document_generator.document_outline = document_outline
469
  db_manager = DatabaseManager()
470
  overall_objective = query
471
- document_layout = json.dumps(document_generator.document_outline, indent=2)
472
  cache_key = f"image_context_{conversation_id}"
473
  image_context = await FastAPICache.get_backend().get(cache_key)
474
 
 
468
  document_generator.document_outline = document_outline
469
  db_manager = DatabaseManager()
470
  overall_objective = query
471
+ document_layout = json.dumps(document_generator.document_outline["Document"]["Pages"], indent=2)
472
  cache_key = f"image_context_{conversation_id}"
473
  image_context = await FastAPICache.get_backend().get(cache_key)
474