llamaparserb 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -0
- data/lib/llamaparserb/version.rb +1 -1
- data/lib/llamaparserb.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f836664d2420cb4d1c4cf4ff02eaa4105507f30a0d25f435565e236d5e03b4e7
|
4
|
+
data.tar.gz: b2d0d6d90d7c343528b78aa5df4ee41801b5b5a36394fe19f08c2295195b50a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8c8a573f40858dc727c2744fad07dfa736a4e7f5848952e3bf401f704a435aec32fd65eefdc8444cd7194d8c5e8f21679b93a1ef9990e330d125050f88cfc9
|
7
|
+
data.tar.gz: bf19df08fab5f21a021f8f031fe22564641e78b94fd1b77121c2178ee608c08d6b2c56cc7fed070e2bd45c7c6ee1e11ab29c10994e829840e5eb34c9cda54862
|
data/CHANGELOG.md
CHANGED
@@ -5,7 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
|
+
## [0.3.2] - 2024-12-02
|
8
9
|
### Added
|
10
|
+
- Add support for `disable_image_extraction`
|
11
|
+
|
12
|
+
## [0.3.1] - 2024-11-28
|
9
13
|
- Add support for all supported optional llamaparse parameters when parsing files from URLs
|
10
14
|
|
11
15
|
## [0.3.0] - 2024-11-28
|
data/README.md
CHANGED
@@ -118,6 +118,7 @@ client = Llamaparserb::Client.new(
|
|
118
118
|
|
119
119
|
# OCR and Image Processing
|
120
120
|
disable_ocr: false, # Disable Optical Character Recognition
|
121
|
+
disable_image_extraction: false, # Disable image extraction from documents
|
121
122
|
take_screenshot: false, # Capture screenshot of document
|
122
123
|
|
123
124
|
# Advanced Processing Features
|
@@ -156,6 +157,7 @@ client = Llamaparserb::Client.new(
|
|
156
157
|
|
157
158
|
#### OCR and Image Processing
|
158
159
|
- `disable_ocr`: Turn off Optical Character Recognition
|
160
|
+
- `disable_image_extraction`: Disable image extraction from documents
|
159
161
|
- `take_screenshot`: Generate document screenshots
|
160
162
|
- `skip_diagonal_text`: Ignore text at diagonal angles
|
161
163
|
|
data/lib/llamaparserb/version.rb
CHANGED
data/lib/llamaparserb.rb
CHANGED
@@ -109,6 +109,7 @@ module Llamaparserb
|
|
109
109
|
vendor_multimodal_model_name: nil,
|
110
110
|
take_screenshot: false,
|
111
111
|
disable_ocr: false,
|
112
|
+
disable_image_extraction: false,
|
112
113
|
is_formatting_instruction: false,
|
113
114
|
annotate_links: false,
|
114
115
|
webhook_url: nil,
|
@@ -275,6 +276,7 @@ module Llamaparserb
|
|
275
276
|
target_pages: @options[:target_pages],
|
276
277
|
bounding_box: @options[:bounding_box],
|
277
278
|
disable_ocr: @options[:disable_ocr],
|
279
|
+
disable_image_extraction: @options[:disable_image_extraction],
|
278
280
|
take_screenshot: @options[:take_screenshot],
|
279
281
|
gpt4o_mode: @options[:gpt4o_mode],
|
280
282
|
gpt4o_api_key: @options[:gpt4o_api_key],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llamaparserb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heidar Bernhardsson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|