You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c60456e
Browse filesBrowse the repository at this point in the historyBrowse files
stlc-bot
committed
feat(parse): mark PDF page numbers inline in Markdown with includeNumberedPages (#2110)
# @param end_page [Integer] Last page to parse. Must be at least `startPage`.
1371
1384
#
1385
+
# @param include_numbered_pages [Boolean] Start each page in the Markdown with a `<!-- page N -->` line using its original
1386
+
#
1372
1387
# @param ocr [Symbol, ContextDev::Models::BatchSubmitParams::Input::Scrape::Data::SharedParams::Parsers::Pdf::Ocr] Set `auto` to read scanned pages with OCR.
1373
1388
#
1374
1389
# @param start_page [Integer] First page to parse, starting at 1.
@@ -3120,6 +3135,15 @@ class Pdf < ContextDev::Internal::Type::BaseModel
3120
3135
# @return [Integer, nil]
3121
3136
optional:end_page,Integer,api_name: :endPage
3122
3137
3138
+
# @!attribute include_numbered_pages
3139
+
# Start each page in the Markdown with a `<!-- page N -->` line using its original
3140
+
# 1-based page number; these responses are never served from cache.
3141
+
#
3142
+
# @return [Boolean, nil]
3143
+
optional:include_numbered_pages,
3144
+
ContextDev::Internal::Type::Boolean,
3145
+
api_name: :includeNumberedPages
3146
+
3123
3147
# @!attribute ocr
3124
3148
# Set `auto` to read scanned pages with OCR.
3125
3149
#
@@ -3133,11 +3157,17 @@ class Pdf < ContextDev::Internal::Type::BaseModel
# @param end_page [Integer] Last page to parse. Must be at least `startPage`.
3140
3168
#
3169
+
# @param include_numbered_pages [Boolean] Start each page in the Markdown with a `<!-- page N -->` line using its original
3170
+
#
3141
3171
# @param ocr [Symbol, ContextDev::Models::BatchSubmitParams::Input::Crawl::Data::SharedParams::Parsers::Pdf::Ocr] Set `auto` to read scanned pages with OCR.
3142
3172
#
3143
3173
# @param start_page [Integer] First page to parse, starting at 1.
0 commit comments