parallex 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: parallex
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: PDF to markdown using Azure OpenAI batch processing
|
5
5
|
Home-page: https://github.com/Summed-AI/parallex
|
6
6
|
Author: Jeff Hostetler
|
@@ -22,10 +22,10 @@ Description-Content-Type: text/markdown
|
|
22
22
|
|
23
23
|
### What it does
|
24
24
|
- Converts PDF into images
|
25
|
-
- Makes requests to Azure OpenAI to
|
25
|
+
- Makes requests to Azure OpenAI to convert the images to markdown using Batch API
|
26
26
|
- [Azure OpenAPI Batch](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/batch?tabs=standard-input%2Cpython-secure&pivots=programming-language-python)
|
27
27
|
- [OpenAPI Batch](https://platform.openai.com/docs/guides/batch)
|
28
|
-
- Polls for batch completion and then
|
28
|
+
- Polls for batch completion and then converts AI responses in structured output based on the page of the corresponding PDF
|
29
29
|
- Post batch processing to do what you wish with the resulting markdown
|
30
30
|
|
31
31
|
### Requirements
|
@@ -34,9 +34,12 @@ Parallex uses `graphicsmagick` for the conversion of PDF to images.
|
|
34
34
|
brew install graphicsmagick
|
35
35
|
```
|
36
36
|
|
37
|
+
### Installation
|
38
|
+
```bash
|
39
|
+
pip install parallex
|
40
|
+
```
|
37
41
|
|
38
42
|
### Example usage
|
39
|
-
|
40
43
|
```python
|
41
44
|
import os
|
42
45
|
from parallex.models.parallex_callable_output import ParallexCallableOutput
|
@@ -15,7 +15,7 @@ parallex/models/upload_batch.py,sha256=jrnds9ryXg9drL4TF8TGimMVTCDfKaWsBzFv_ed0i
|
|
15
15
|
parallex/parallex.py,sha256=RvSDNyjrE7Fd3LuatEt18_1sR_btPJ-i6uxjNr_dGh0,4502
|
16
16
|
parallex/utils/constants.py,sha256=c6i_-OSfCXAzW9ILzddSSHfldqHnsPEID3G3VYGYXUg,362
|
17
17
|
parallex/utils/logger.py,sha256=5dpTogztRq4NCgYWnbbkFNx3V2sFCN-Mtoagwj8i18Q,505
|
18
|
-
parallex-0.1.
|
19
|
-
parallex-0.1.
|
20
|
-
parallex-0.1.
|
21
|
-
parallex-0.1.
|
18
|
+
parallex-0.1.3.dist-info/LICENSE,sha256=wPwCqGrisXnEcpaUxSO79C2mdOUTbtjhLjyy8mVW6p8,1046
|
19
|
+
parallex-0.1.3.dist-info/METADATA,sha256=oOHuVOKgITHhEjzSQQW4Odo06tZjFfY1B2AVR8q9SDg,3444
|
20
|
+
parallex-0.1.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
21
|
+
parallex-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|