llm-large-files 0.8.0 → 0.8.2

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +147 -0
  2. package/README.md +2 -0
  3. package/dist/aggregate.d.ts +103 -0
  4. package/dist/aggregate.d.ts.map +1 -0
  5. package/dist/aggregate.js +651 -0
  6. package/dist/aggregate.js.map +1 -0
  7. package/dist/evidence.d.ts.map +1 -1
  8. package/dist/evidence.js +17 -0
  9. package/dist/evidence.js.map +1 -1
  10. package/dist/extract.d.ts +8 -1
  11. package/dist/extract.d.ts.map +1 -1
  12. package/dist/extract.js +40 -2
  13. package/dist/extract.js.map +1 -1
  14. package/dist/library.d.ts +7 -0
  15. package/dist/library.d.ts.map +1 -1
  16. package/dist/library.js +112 -18
  17. package/dist/library.js.map +1 -1
  18. package/dist/limiter.d.ts +2 -2
  19. package/dist/limiter.js +2 -2
  20. package/dist/node/handlers.d.ts +15 -0
  21. package/dist/node/handlers.d.ts.map +1 -1
  22. package/dist/node/handlers.js +155 -36
  23. package/dist/node/handlers.js.map +1 -1
  24. package/dist/plan.d.ts +3 -1
  25. package/dist/plan.d.ts.map +1 -1
  26. package/dist/plan.js +17 -1
  27. package/dist/plan.js.map +1 -1
  28. package/dist/quality.d.ts +16 -0
  29. package/dist/quality.d.ts.map +1 -0
  30. package/dist/quality.js +157 -0
  31. package/dist/quality.js.map +1 -0
  32. package/dist/ranged.d.ts +7 -0
  33. package/dist/ranged.d.ts.map +1 -1
  34. package/dist/ranged.js +8 -1
  35. package/dist/ranged.js.map +1 -1
  36. package/dist/tools.d.ts +9 -0
  37. package/dist/tools.d.ts.map +1 -1
  38. package/dist/tools.js +258 -5
  39. package/dist/tools.js.map +1 -1
  40. package/dist/types.d.ts +20 -0
  41. package/dist/types.d.ts.map +1 -1
  42. package/docs/guides/deployment.md +27 -6
  43. package/docs/guides/storage.md +5 -2
  44. package/docs/guides/web-app.md +14 -3
  45. package/docs/how-it-works.md +7 -0
  46. package/docs/measurements.md +20 -0
  47. package/docs/reference/library.md +22 -8
  48. package/docs/reference/node.md +30 -15
  49. package/docs/reference/tools.md +99 -1
  50. package/docs/security.md +15 -6
  51. package/docs/troubleshooting.md +28 -0
  52. package/package.json +1 -1
  53. package/src/aggregate.ts +674 -0
  54. package/src/evidence.ts +17 -0
  55. package/src/extract.ts +37 -2
  56. package/src/library.ts +116 -16
  57. package/src/limiter.ts +2 -2
  58. package/src/node/handlers.ts +159 -32
  59. package/src/plan.ts +17 -1
  60. package/src/quality.ts +146 -0
  61. package/src/ranged.ts +8 -1
  62. package/src/tools.ts +249 -5
  63. package/src/types.ts +17 -0
package/CHANGELOG.md CHANGED
@@ -36,6 +36,153 @@ Grouped by area. One or two lines each, written for an app developer, with the n
36
36
  matter.
37
37
  -->
38
38
 
39
+ ## 0.8.2 — 2026-11-23
40
+
41
+ Memory when many users upload at once. A review of how the library holds files found that every
42
+ upload a server received was ingested at the same time, with nothing to bound the memory, and that
43
+ the meta `ingest` returns kept the whole text of its file in memory. Ingests now take turns, two at
44
+ a time in each library; the upload handler takes uploads up to twice the upload limit at once, and
45
+ answers the others 503 with `Retry-After` before reading them; and the meta is a copy. Measured
46
+ with 100 logs of 2 MB sent at once: a peak of 329 to 356 MB of memory instead of 817 to 830 MB
47
+ (about 190 MB of it the 100 uploads themselves), the first user answered after 0.5 to 0.7 s instead
48
+ of 25 to 39 s, half of them after 13 to 17 s instead of 27 to 40 s, and all of them in 28 to 33 s,
49
+ against 28 to 42 s. It is a patch: no code needs to change, and since 0.8.0 an upload could already
50
+ be answered 503 with `Retry-After` (by busy readers of `createIsolatedExtractors`).
51
+
52
+ ### Upgrading: what you need to change
53
+
54
+ Code written for 0.8.1 compiles with 0.8.2 as it is: the three new options are optional.
55
+
56
+ - **Ingests of one library take turns, two at a time** (`maxConcurrentIngests`).
57
+ **What to do:** nothing. To have every ingest start at once, as before, set
58
+ `maxConcurrentIngests: Infinity`. With `createIsolatedExtractors({ concurrency })` above 2, raise
59
+ `maxConcurrentIngests` to at least `concurrency`, or the extra readers stay idle. An app that makes
60
+ a library per chat or per request ([Storage](docs/guides/storage.md#files-in-a-folder-per-user-or-per-chat)) gets
61
+ a queue per library, so ingests of different chats still all work at once: bound them for the
62
+ process yourself.
63
+ - **`createDocumentHandlers` answers an upload 503, with `Retry-After: 5`, when uploads are already
64
+ held and that one would bring them past twice `maxUploadBytes`** (200 MB by default).
65
+ **What to do:** a client that sends many files at once sends a refused one again after
66
+ `Retry-After`, as it does for a busy `createIsolatedExtractors` ([the browser code in Web
67
+ app](docs/guides/web-app.md#upload-from-the-browser) now does). To change the limit, set
68
+ `maxPendingUploadBytes`; `Infinity` turns it off.
69
+ - **An upload whose body stops arriving for 30 s is answered 408** and its connection closed
70
+ (`uploadIdleTimeoutMs`).
71
+ **What to do:** nothing, unless your users send large files over links that stall for longer:
72
+ raise `uploadIdleTimeoutMs`, or set 0 to wait as before.
73
+ - **A store write that does not end within `ingestTimeoutMs` (2 minutes by default, and when it is
74
+ 0) fails the ingest**, as a failure of the store (`The store did not finish writing app.log within
75
+ 2 min.`; the upload handler answers 500), and the document is removed once the write ends. Such a
76
+ write held the ingest, and with the new limits its turn and its upload's room, forever.
77
+ **What to do:** nothing, unless your store takes longer than that to write a file: raise
78
+ `ingestTimeoutMs`.
79
+ - **A `LargeFiles` of your own given to `createDocumentHandlers` must have `maxUploadBytes`**, as its
80
+ type says: without a number above 0 (from JavaScript), `createDocumentHandlers` throws a
81
+ `TypeError`. Such an object had no upload limit at all.
82
+ **What to do:** keep the `maxUploadBytes` of the library it wraps (`{ ...files, ingest }` does).
83
+
84
+ ### New: what you can add
85
+
86
+ - **`maxConcurrentIngests`** in `createLargeFiles` (see
87
+ [the options](docs/reference/library.md#largefilesoptions)): how many ingests do their work at
88
+ once in the library, 2 by default.
89
+ - **`maxPendingUploadBytes`** in `createDocumentHandlers` (see
90
+ [the options](docs/reference/node.md#documenthandleroptions)): the most bytes of uploads the
91
+ handlers hold at once, twice `maxUploadBytes` by default.
92
+ - **`uploadIdleTimeoutMs`** in `createDocumentHandlers`: how long the body of an upload may stop
93
+ arriving, 30,000 ms by default.
94
+
95
+ ### Changed: what works differently
96
+
97
+ - **Ingests take turns.** The others wait in the order they came; their `ingestTimeoutMs` starts
98
+ when their turn comes, and a caller that gives up while it waits gets its own reason, with
99
+ nothing stored. An empty file, or one over `maxUploadBytes`, is refused without waiting. An
100
+ ingest keeps its turn until its work ends: when its time is up or its caller left while an
101
+ extractor goes on (one that does not stop on the signal, such as the parse of a PDF by
102
+ `@cantoo/pdf-lib`), until that extractor ends, or `ingestTimeoutMs` more (2 minutes when that is
103
+ 0) when it never does, so that it cannot stop every later ingest. An extractor of your own must not wait on an ingest of the same library
104
+ (to store the parts of an archive, say): that ingest waits for a turn like the others, and with
105
+ every turn held by such extractors, each waits on itself until its time is up. A library sends `createIsolatedExtractors` at most `maxConcurrentIngests` files at
106
+ once, so its own queue fills only when several libraries share one set of readers.
107
+ - **The upload handler holds a bounded number of bytes.** An upload is held from the reading of
108
+ its body to the end of its ingest, on the event-stream path too (also after its client went
109
+ away, until its ingest stops). Its room is taken before its body is read: its `Content-Length`,
110
+ or `maxUploadBytes` until its body is read when it declares none. One upload alone is always
111
+ taken. A `Content-Length`, or a body a framework already read, over `maxUploadBytes` is answered
112
+ 413 before any check of room. A client that sends its headers and then nothing holds its room
113
+ until `uploadIdleTimeoutMs`; one that trickles, until `server.requestTimeout`: a proxy that reads
114
+ whole bodies before passing them on avoids both
115
+ ([Deployment](docs/guides/deployment.md#uploads-and-ingest)).
116
+ - **Docs:** a search of a document read by range takes tens of MB at its peak (60 to 80 MB for a
117
+ log of 95 MB on Windows, 49 MB above the process for one of 100 MB on Linux), not "a few MB"
118
+ ([Deployment](docs/guides/deployment.md#memory-on-each-server)).
119
+
120
+ ### Fixed
121
+
122
+ - **The meta that `ingest` returns no longer keeps the whole text of its file in memory.** The
123
+ first and last timestamps of a log, and the headings of an outline, were pieces of the text, and
124
+ a piece keeps the whole text it was cut from: a meta an application held took 25 MB of heap for a
125
+ log of 10 MB in Hebrew, 194 MB for one of 100 MB, and 13 MB for 5.5 MB of Markdown. It is now a
126
+ copy made through JSON, as `FileDocumentStore` gives it back, and takes a few KB. The store's copy
127
+ was never affected.
128
+ - **A document whose text was removed while its metadata stayed is reported missing**, by
129
+ `prepare` and by `askWithFiles` (`DocumentsNotFoundError` with its ID), as one whose metadata is
130
+ gone. When it was read by range (more than `wholeDocumentBytes` of text, 2 MB by default), the
131
+ question failed with a plain `Error` ("doc_… is no longer available on the server"). A cleanup
132
+ outside the library that removes only the text files (or a lifecycle rule of an object store on
133
+ the text objects) leaves documents so.
134
+
135
+ ## 0.8.1 — 2026-11-23
136
+
137
+ Exact numbers from tables. `aggregate_table` counts, sums, averages and groups the rows of a CSV
138
+ file, a sheet of a workbook or a `| cell |` table of any document, reading every row, with no code
139
+ run; it finds headers of several rows and a title above them. Search hits say which section and
140
+ which table header they belong to. A file whose name says nothing is known by its bytes, and the
141
+ card says which PDF pages have no text or a garbled one. Checked live with the Gemini API on
142
+ `gemini-3.5-flash-lite` and `gemini-3.8-flash`: a sum and a count by region of a workbook, averages
143
+ per region, refunded orders of a CSV with a title row, and a row found by search named by its
144
+ header; all eight answers right, the counts with one `aggregate_table` call.
145
+
146
+ ### Upgrading: what you need to change
147
+
148
+ Code written for 0.8.0 compiles with 0.8.1 as it is: every change to the public types is an
149
+ addition (`TOOL_NAMES.aggregate`, optional fields of `DocumentMeta`, an optional third parameter of
150
+ `detectFormat`). A `Record` of your own keyed by the tool names needs the new one.
151
+
152
+ - **A new tool, `aggregate_table`, is offered with CSV, XLSX, DOCX, PPTX, PDF, HTML and Markdown
153
+ documents**, with one more line in the tool guide. The tool set and the guide the model is sent
154
+ change for those documents, so the provider's prompt cache misses once.
155
+ **What to do:** nothing. A loop of your own that runs `files.tools()` gets it too.
156
+ - **Search results have two more fields:** `section` on a match in a document with an outline, and
157
+ `table_headers` on a result whose matches are rows of a table. Tests that compare whole results
158
+ need them.
159
+ **What to do:** nothing, unless your tests compare search results whole.
160
+
161
+ ### New: what you can add
162
+
163
+ - **`aggregate_table`** (see [`aggregate_table`](docs/reference/tools.md#aggregate_table)): `metrics`
164
+ (`count`, `sum:Column`, `avg:`, `min:`, `max:`, `count_distinct:`), `group_by` (up to 3 columns,
165
+ a date column by `:year`, `:month` or `:day`), `filters` (`=`, `!=`, `>`, `>=`, `<`, `<=`,
166
+ `contains`, `not_contains`, `starts_with`, `empty`, `not_empty`), `order_by`, `limit`, `table` (a
167
+ sheet's name or number, a table's number) and `header_rows`. Numbers are read as people write
168
+ them ("1,234.5", "(1,200)", "₪4,750", "12,5"); cells that are not numbers are counted apart. A
169
+ header of two or three rows is joined ("Q1 / January"), a title row above it is left out, and a
170
+ header repeated inside the table is not a row. Each group cites the lines of its first rows.
171
+ - **`DocumentMeta.pagesWithoutText`, `garbledPages` and `scripts`**, worked out at ingest and shown
172
+ on the card: the PDF pages with no text (scans, photos) and those whose text looks garbled, with
173
+ a pointer to `view_pages` when they can be looked at, and the scripts of a text that is not in
174
+ Latin letters alone ("Written in: Hebrew 81%, Latin 19%").
175
+ - **`detectFormat(name, mimeType, bytes?)`** and `ingest`: a file whose name and type give no format
176
+ is known by its bytes (a PDF header, the parts of a DOCX, PPTX or XLSX, a first `<html>`). A file
177
+ named `.txt` stays text.
178
+
179
+ ### Changed: what works differently
180
+
181
+ - **Search hits say where they sit** (F15): `section` is the heading above a match ("2.1 Rent",
182
+ "Sheet 2: Sales"); `table_headers` gives the first row of each table a match is in (line 1 of a
183
+ CSV file, a sheet's first row, a `| cell |` table's first row), so a hit like `Row 812: | 4,200 |`
184
+ is understood without another read.
185
+
39
186
  ## 0.8.0 — 2026-11-23
40
187
 
41
188
  Files from an enterprise, read with their structure, and counted exactly. Word files keep their
package/README.md CHANGED
@@ -257,6 +257,8 @@ What each model gets, and what it costs: [An explorer model](docs/guides/explore
257
257
  | **Formats** | Text, Markdown, logs (UTF-8 and UTF-16, and Hebrew, Arabic, Cyrillic, Japanese and Western European text in its older encoding), JSON/JSONL, CSV/TSV, HTML (the text a browser shows), DOCX (headings, clause numbers, tables, notes and comments), PPTX (slides in show order, tables, speaker notes), XLSX (every sheet, a line per row, with its row number), PDF (text layer, with tables rebuilt so empty cells stay empty; pages with a picture are marked, and the model can look at the pages themselves; scans of up to 30 pages when PDFs are kept) |
258
258
  | **Logs** | Detected automatically; the card shows level counts, the time range, and the most frequent errors grouped by shape (`timeout after <n>ms to <ip>`) |
259
259
  | **Books and documents** | An outline of headings with line numbers, including Markdown, "Chapter 12", numbered sections, and Hebrew chapter titles |
260
+ | **Counting** | Exact counts of matching lines, per hour, per code or per message shape, in one search; exact sums, averages and groups over the rows of a CSV, an Excel sheet or a table of a document with `aggregate_table`, which reads every row and runs no code |
261
+ | **Every language** | Search finds a Hebrew word with any prefix letter, words written with or without accents, quotes or gershayim either way; regex `\w` and `\b` know every script |
260
262
  | **Limits** | One budget covers tokens *and* request bytes, so files fit both your context window and your connector's payload limit. It assumes 1M tokens and 10 MB: set `budget.contextTokens` for your model's window (an adapter's `contextTokens` can only make it smaller) |
261
263
  | **Reliability** | Retries, waits on a silent model, recovery from a request too large, error kinds: see [Errors and reliability](docs/guides/errors-and-reliability.md) |
262
264
  | **Models** | Gemini and Vertex AI, any OpenAI-compatible endpoint, Claude, or an adapter of your own. Two models of different providers can share a question |
@@ -0,0 +1,103 @@
1
+ import { type DocumentSource } from "./search.js";
2
+ /**
3
+ * `aggregate_table`: counts, sums, averages, minimums and maximums over the rows of one table of a
4
+ * document, with filters and groups, exactly, without code and without the model reading the rows.
5
+ * A model that adds up 50,000 rows by reading them needs hundreds of calls and gets it wrong; this
6
+ * reads them once. Every group says the lines of its first rows, so an answer can cite them.
7
+ *
8
+ * The tables it reads:
9
+ * - a CSV or TSV file (format "csv"): the whole file, its first line the header; the separator is
10
+ * found from the first lines (comma, semicolon, tab or "|"), and quoted fields may hold separators,
11
+ * quotes and line breaks;
12
+ * - a sheet of an Excel workbook (format "xlsx"), as the XLSX extractor writes it: `## Sheet 2:
13
+ * name`, `Columns: …`, then `Row 7: | a | b |` lines; its first row is the header unless every
14
+ * value of it is a number, and then the columns are named by their letters;
15
+ * - any run of `| cell | cell |` lines in another document: the tables of DOCX, PPTX, PDF, HTML and
16
+ * Markdown files, numbered in the order of the file. A Markdown separator row (`|---|`) is skipped.
17
+ */
18
+ /** The most groups counted one by one; rows of further groups are counted together. */
19
+ export declare const MAX_AGGREGATE_GROUPS = 10000;
20
+ /** The most groups shown in a result. */
21
+ export declare const MAX_SHOWN_GROUPS = 200;
22
+ /** Distinct values `count_distinct` holds, across all groups: past it, values are no longer told apart. */
23
+ export declare const MAX_DISTINCT_VALUES = 1000000;
24
+ export type AggregateOp = "count" | "sum" | "avg" | "min" | "max" | "count_distinct";
25
+ export declare const AGGREGATE_OPS: readonly AggregateOp[];
26
+ export type FilterOp = "=" | "!=" | ">" | ">=" | "<" | "<=" | "contains" | "not_contains" | "starts_with" | "empty" | "not_empty";
27
+ export declare const FILTER_OPS: readonly FilterOp[];
28
+ /** A date column grouped by a part of its dates: `"Date:month"` groups 2026-03-14 under 2026-03. */
29
+ export type DatePart = "year" | "month" | "day";
30
+ export type AggregateRequest = {
31
+ /** Which table: a sheet's name or number for a workbook, a table's number for other documents. Defaults to the first. */
32
+ table?: string | number;
33
+ filters?: Array<{
34
+ column: string;
35
+ op: FilterOp;
36
+ value?: string | number;
37
+ }>;
38
+ /** Up to 3 columns; each may end in ":year", ":month" or ":day" for a column of dates. */
39
+ groupBy?: string[];
40
+ /** "count", or an op and a column: "sum:Revenue", "avg:Price", "count_distinct:Customer". Defaults to ["count"]. */
41
+ metrics?: string[];
42
+ /** "metric" (the default): the largest value of the first metric first; "key": by the groups' values, in order. */
43
+ orderBy?: "metric" | "key";
44
+ /**
45
+ * How many rows at the top of the table are its header: 0 when it has none (columns are named by
46
+ * their letters in a workbook, "Column 1"… elsewhere), up to 5. Unset: one for a CSV file; for a
47
+ * sheet or a `| cell |` table it is found (see `aggregateTable`).
48
+ */
49
+ headerRows?: number;
50
+ /** Groups shown, at most. Defaults to 50. */
51
+ limit?: number;
52
+ };
53
+ export type AggregateGroup = {
54
+ /** The value of each group-by column, as the first row of the group writes it. */
55
+ key: Record<string, string>;
56
+ count: number;
57
+ /** Each metric by its name ("sum:Revenue"). Null when no row of the group had a number in its column. */
58
+ values: Record<string, number | string | null>;
59
+ /** The lines of the group's first rows. */
60
+ lines: number[];
61
+ };
62
+ export type AggregateResult = {
63
+ /** Which table was read: "Sheet 2: Sales", "table 3 of 5", "the CSV file". */
64
+ table: string;
65
+ /** How many tables the document has: sheets, or `| cell |` tables. */
66
+ tables: number;
67
+ columns: string[];
68
+ headerLine: number;
69
+ rowsRead: number;
70
+ rowsMatched: number;
71
+ groups: AggregateGroup[];
72
+ totalGroups: number;
73
+ /** Rows of groups past `MAX_AGGREGATE_GROUPS`. */
74
+ otherRows: number;
75
+ /** The rows taken for the header, and a title row above them that was left out. */
76
+ headerRows: number;
77
+ title?: string;
78
+ /** Rows the same as the header, found again inside the table (a header a PDF repeats on each page): left out. */
79
+ repeatedHeaders: number;
80
+ /** Rows with another number of cells than the header: read, and counted here, as a sign of a table read wrong. */
81
+ irregularRows: number;
82
+ /** True when `count_distinct` reached `MAX_DISTINCT_VALUES`: its counts are lower bounds. */
83
+ distinctCapped: boolean;
84
+ /** For each numeric metric, how many matched rows had a value in its column that is not a number (left out). */
85
+ notNumbers: Record<string, number>;
86
+ };
87
+ /**
88
+ * A number as a person writes it in a table: "1,234.5", "-12", "(1,200)" for a negative, "₪4,750",
89
+ * "$ 12.00", "12%" (12), "1.5e3", "1 234" with a space or a no-break space between thousands.
90
+ * A value with a comma and no dot is taken for thousands when the comma is followed by three digits
91
+ * ("4,750"), and for a decimal comma otherwise ("12,5"). Undefined for anything else.
92
+ */
93
+ export declare function parseNumber(raw: string): number | undefined;
94
+ /** Splits a `| a | b |` row into its cells, honouring `\|` inside a cell. */
95
+ export declare function pipeCells(line: string): string[];
96
+ /** The separator of a CSV file, from its first lines: the one found the same number of times (above 0) on most of them. */
97
+ export declare function csvSeparator(lines: string[]): string;
98
+ /**
99
+ * Reads the rows of one table and aggregates them. Throws an error the model can act on: no table,
100
+ * a table that does not exist, an unknown column or operation.
101
+ */
102
+ export declare function aggregateTable(source: DocumentSource, request: AggregateRequest, signal?: AbortSignal): Promise<AggregateResult>;
103
+ //# sourceMappingURL=aggregate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate.d.ts","sourceRoot":"","sources":["../src/aggregate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAG9D;;;;;;;;;;;;;;;GAeG;AAEH,uFAAuF;AACvF,eAAO,MAAM,oBAAoB,QAAS,CAAC;AAC3C,yCAAyC;AACzC,eAAO,MAAM,gBAAgB,MAAM,CAAC;AACpC,2GAA2G;AAC3G,eAAO,MAAM,mBAAmB,UAAY,CAAC;AAU7C,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,gBAAgB,CAAC;AACrF,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EAA4D,CAAC;AAC7G,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,GAAG,OAAO,GAAG,WAAW,CAAC;AAClI,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAAuG,CAAC;AAClJ,oGAAoG;AACpG,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,yHAAyH;IACzH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,KAA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