Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pull request #523 and #530 from vNext-Dev for large table fixes #558

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion functions/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ azure-storage-queue == 12.6.0
nltk == 3.8.1
tenacity == 8.2.3
azure-ai-vision == 0.15.1b1
unstructured[csv,doc,docx,email,html,md,msg,ppt,pptx,text,xlsx,xml] == 0.10.27
unstructured[csv,doc,docx,email,html,md,msg,ppt,pptx,text,xlsx,xml] == 0.12.5
pyoo == 1.4
azure-search-documents == 11.4.0b11
beautifulsoup4 == 4.12.2
1 change: 1 addition & 0 deletions functions/shared_code/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ def build_chunks(self, document_map, myblob_name, myblob_uri, chunk_target_size)
previous_subtitle_name = document_map['structure'][0]["subtitle"]
page_list = []
chunk_count = 0
previous_paragraph_element_is_a_table = False

# iterate over the paragraphs and build a chuck based on a section
# and/or title of the document
Expand Down