pvanand commited on
Commit
bbc3205
1 Parent(s): 28370e2

Update document_generator.py

Browse files
Files changed (1) hide show
  1. document_generator.py +6 -2
document_generator.py CHANGED
@@ -254,8 +254,12 @@ class MarkdownConverter:
254
 
255
  router = APIRouter()
256
 
257
- class DocumentRequest(BaseModel):
258
- query: str
 
 
 
 
259
 
260
  class JsonDocumentResponse(BaseModel):
261
  json_document: Dict
 
254
 
255
  router = APIRouter()
256
 
257
+ class DocumentRequest(BaseModel):
258
+ query: str class
259
+
260
+ class DocumentResponse(BaseModel):
261
+ json_document: Dict
262
+ markdown_document: str
263
 
264
  class JsonDocumentResponse(BaseModel):
265
  json_document: Dict