We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329d14f commit dbf7a17Copy full SHA for dbf7a17
backend/onyx/file_processing/extract_file_text.py
@@ -308,6 +308,10 @@ def read_pdf_file(
308
309
310
def extract_docx_images(docx_bytes: IO[Any]) -> list[tuple[bytes, str]]:
311
+ """
312
+ Given the bytes of a docx file, extract all the images.
313
+ Returns a list of tuples (image_bytes, image_name).
314
315
out = []
316
try:
317
with zipfile.ZipFile(docx_bytes) as z:
0 commit comments