Skip to content

Commit 772a937

Browse files
authored
Merge pull request #120 from snexus/feature-gmft
Support for table parsing using GMFT and Azure Document Intelligence
2 parents b5fc35b + 090f399 commit 772a937

42 files changed

Lines changed: 1910 additions & 277 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env_template

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
OPENAI_API_KEY=<<<YOUR_API_KEY>>>
1+
OPENAI_API_KEY=<<<YOUR_API_KEY>>>
2+
3+
# Only if using image parsing using Gemini
4+
GOOGLE_API_KEY=<<<YOUR_API_KEY>>>
5+
6+
# Only if using table parsing using azure document intelligence
7+
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=<< AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT >>
8+
AZURE_DOCUMENT_INTELLIGENCE_KEY=<< AZURE_DOCUMENT_INTELLIGENCE_KEY >>

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ __pycache__/
55
.env
66
dev/*
77
output_images/
8+
azuredoc_temp/
89

910
# C extensions
1011
*.so
@@ -14,6 +15,7 @@ temp_data/
1415
*.npz
1516
*.db
1617
sample_templates/obsidian_conf_test.yaml
18+
sample_templates/test-templates/*
1719
.venv2
1820

1921
# Distribution / packaging

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ The purpose of this package is to offer a convenient question-answering (RAG) sy
1616
* Other common formats are supported by `Unstructured` pre-processor:
1717
* List of formats see [here](https://unstructured-io.github.io/unstructured/core/partition.html).
1818

19+
* Support for table parsing via open-source gmft (https://github.com/conjuncts/gmft) or Azure Document Intelligence.
20+
21+
* Optional support for image parsing using Gemini API.
22+
1923
* Supports multiple collection of documents, and filtering the results by a collection.
2024

2125
* An ability to update the embeddings incrementally, without a need to re-index the entire document base.

0 commit comments

Comments
 (0)