llamaparserb 0.3.1 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '045959dc406ac1ba5ce9db3cde8bdfc7e0bbccf83601027a0847b6693220af8f'
4
- data.tar.gz: a56317601d9feba955aa6d8c08586ac495673b3d506ed0b332c43aca59a0bacf
3
+ metadata.gz: 6aca92c495150028ec8bc5fca816267bc616abfad3965930965c62a8baaf2493
4
+ data.tar.gz: 4a878d127e458f604b576f27000e5343502a9c87eb84d177b455ea2b3ad3885f
5
5
  SHA512:
6
- metadata.gz: 585bd687b193ffedceccf87e3a95550a1053e31d6d14da430f603109e9be74aa4aaf06d901afda2a0aaa9cdf87be93a08420cbc88b876630ce7d865c2e1c08db
7
- data.tar.gz: 2d0616205409a56943d31014ca01c910bd31d6fb40a0c98fcbb02e6ba946d92a22925ba77ba05cfeae10ae6af0f3e7753b8dbcefed66739b97663808862d1892
6
+ metadata.gz: ffba80842d79e540d7b4a5d847c9f2b482e1e6adcc27f681966e9f96d83c5adceb0cb2dddbd48f1522c792a62b14fd52a271dcb0d4ed0d15c8562eece50b5236
7
+ data.tar.gz: 6ae0d6f162da807ccf664e94a6f22ca8b898ae4b9ad0b65836ffc0e4f94c01d441fdabbdd5908472d6b4a43217633295b3005e6de78ae02ec7f3a1dd39aaf3ed
data/CHANGELOG.md CHANGED
@@ -5,7 +5,17 @@ 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
+
9
+ ## [0.3.3] - 2025-01-06
10
+ ### Changed
11
+ - Move to new GitHub repository
12
+ - Updated dependencies
13
+
14
+ ## [0.3.2] - 2024-12-02
8
15
  ### Added
16
+ - Add support for `disable_image_extraction`
17
+
18
+ ## [0.3.1] - 2024-11-28
9
19
  - Add support for all supported optional llamaparse parameters when parsing files from URLs
10
20
 
11
21
  ## [0.3.0] - 2024-11-28
@@ -16,14 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
26
  ### Added
17
27
  - Add support for all supported optional llamaparse parameters to `parse_file`
18
28
 
19
- [0.2.3]: https://github.com/horizing/llamaparserb/releases/tag/v0.2.3...v0.2.2
20
-
21
29
  ## [0.2.2] - 2024-11-28
22
30
  ### Fixed
23
31
  - Fix issue with handling file path
24
32
 
25
- [0.2.2]: https://github.com/horizing/llamaparserb/releases/tag/v0.2.2
26
-
27
33
  ## [0.2.1] - 2024-11-28
28
34
  ### Fixed
29
35
  - Fix parse_file to handle files that are not on the local filesystem
@@ -35,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
35
41
 
36
42
  ## [0.1.1] - 2024-11-28
37
43
  ### Changed
38
- - Move gem ownership to Horizing
44
+ - Move gem ownership
39
45
 
40
46
  ## [0.1.0] - 2024-11-27
41
47
  ### Added
data/LICENSE.txt CHANGED
@@ -1,6 +1,7 @@
1
1
  The MIT License (MIT)
2
2
 
3
3
  Copyright (c) 2024 Horizing
4
+ Copyright (c) 2025 Heidar Bernhardsson (modifications)
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
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
 
@@ -237,7 +239,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
237
239
 
238
240
  ## Contributing
239
241
 
240
- Bug reports and pull requests are welcome on GitHub at https://github.com/horizing/llamaparserb.
242
+ Bug reports and pull requests are welcome on GitHub at https://github.com/heidar/llamaparserb.
241
243
 
242
244
  ## License
243
245
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Llamaparserb
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.3"
5
5
  end
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,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llamaparserb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heidar Bernhardsson
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-11-28 00:00:00.000000000 Z
10
+ date: 2025-01-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: faraday
@@ -16,60 +15,60 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: '2.0'
18
+ version: 2.12.2
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: '2.0'
25
+ version: 2.12.2
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: faraday-multipart
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: '1.0'
32
+ version: 1.1.0
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: '1.0'
39
+ version: 1.1.0
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: mime-types
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '3.0'
46
+ version: 3.6.0
48
47
  type: :runtime
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '3.0'
53
+ version: 3.6.0
55
54
  - !ruby/object:Gem::Dependency
56
55
  name: async
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - "~>"
60
59
  - !ruby/object:Gem::Version
61
- version: '2.0'
60
+ version: 2.21.1
62
61
  type: :runtime
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
65
  - - "~>"
67
66
  - !ruby/object:Gem::Version
68
- version: '2.0'
67
+ version: 2.21.1
69
68
  description: A llamaparse client for Ruby. Loosely based on the Python version from
70
69
  llamaparse.
71
70
  email:
72
- - heidar@horizing.io
71
+ - heidar@heidarb.com
73
72
  executables: []
74
73
  extensions: []
75
74
  extra_rdoc_files: []
@@ -79,15 +78,14 @@ files:
79
78
  - README.md
80
79
  - lib/llamaparserb.rb
81
80
  - lib/llamaparserb/version.rb
82
- homepage: https://github.com/horizing/llamaparserb
81
+ homepage: https://github.com/heidar/llamaparserb
83
82
  licenses:
84
83
  - MIT
85
84
  metadata:
86
85
  allowed_push_host: https://rubygems.org
87
- homepage_uri: https://github.com/horizing/llamaparserb
88
- source_code_uri: https://github.com/horizing/llamaparserb
89
- changelog_uri: https://github.com/horizing/llamaparserb/blob/master/CHANGELOG.md
90
- post_install_message:
86
+ homepage_uri: https://github.com/heidar/llamaparserb
87
+ source_code_uri: https://github.com/heidar/llamaparserb
88
+ changelog_uri: https://github.com/heidar/llamaparserb/blob/master/CHANGELOG.md
91
89
  rdoc_options: []
92
90
  require_paths:
93
91
  - lib
@@ -102,8 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
100
  - !ruby/object:Gem::Version
103
101
  version: '0'
104
102
  requirements: []
105
- rubygems_version: 3.5.11
106
- signing_key:
103
+ rubygems_version: 3.6.2
107
104
  specification_version: 4
108
105
  summary: A llamaparse client for Ruby.
109
106
  test_files: []