Skip to content

Commit f7627f8

Browse files
authored
Merge pull request #77 from isaacus-dev/release-please--branches--main--changes--next
release: 0.18.0
2 parents de27493 + 5dbabb9 commit f7627f8

File tree

10 files changed

+69
-33
lines changed

10 files changed

+69
-33
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.17.1"
2+
".": "0.18.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-fd2419c8cf8666e821f55c4cc5a5402900c443e2db59b3e53cfb46fd5bb52316.yml
3-
openapi_spec_hash: a92a4436234b019c9c23feb11b1f2f28
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-46de7b353c33e2b6c139e564caeec9e0462ad714121690f65167a7943e325000.yml
3+
openapi_spec_hash: 6527287f9709a8741c9cc5b4181d7bb1
44
config_hash: 9040e7359f066240ad536041fb2c5185

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.18.0 (2026-02-11)
4+
5+
Full Changelog: [v0.17.1...v0.18.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.17.1...v0.18.0)
6+
7+
### Features
8+
9+
* **api:** add chunking mode to enrichment ([20a3231](https://github.com/isaacus-dev/isaacus-python/commit/20a3231576f04f67e35db65de497ea89fccafdb0))
10+
11+
12+
### Chores
13+
14+
* **internal:** bump dependencies ([233ae5c](https://github.com/isaacus-dev/isaacus-python/commit/233ae5cb808d97971cfffb68d2b5191c2a4d7cfa))
15+
16+
17+
### Documentation
18+
19+
* **api:** update `creation` date type definition ([66db3ea](https://github.com/isaacus-dev/isaacus-python/commit/66db3eac21d416b05e0da12e4f22871a03ef3ebc))
20+
321
## 0.17.1 (2026-02-07)
422

523
Full Changelog: [v0.17.0...v0.17.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.17.0...v0.17.1)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "isaacus"
3-
version = "0.17.1"
3+
version = "0.18.0"
44
description = "The official Python library for the isaacus API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

requirements-dev.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
-e file:.
1313
aiohappyeyeballs==2.6.1
1414
# via aiohttp
15-
aiohttp==3.13.2
15+
aiohttp==3.13.3
1616
# via httpx-aiohttp
1717
# via isaacus
1818
aiosignal==1.4.0
1919
# via aiohttp
2020
annotated-types==0.7.0
2121
# via pydantic
22-
anyio==4.12.0
22+
anyio==4.12.1
2323
# via httpx
2424
# via isaacus
2525
argcomplete==3.6.3
@@ -31,7 +31,7 @@ attrs==25.4.0
3131
# via nox
3232
backports-asyncio-runner==1.2.0
3333
# via pytest-asyncio
34-
certifi==2025.11.12
34+
certifi==2026.1.4
3535
# via httpcore
3636
# via httpx
3737
colorlog==6.10.1
@@ -61,15 +61,15 @@ httpx==0.28.1
6161
# via httpx-aiohttp
6262
# via isaacus
6363
# via respx
64-
httpx-aiohttp==0.1.9
64+
httpx-aiohttp==0.1.12
6565
# via isaacus
6666
humanize==4.13.0
6767
# via nox
6868
idna==3.11
6969
# via anyio
7070
# via httpx
7171
# via yarl
72-
importlib-metadata==8.7.0
72+
importlib-metadata==8.7.1
7373
iniconfig==2.1.0
7474
# via pytest
7575
markdown-it-py==3.0.0
@@ -82,14 +82,14 @@ multidict==6.7.0
8282
mypy==1.17.0
8383
mypy-extensions==1.1.0
8484
# via mypy
85-
nodeenv==1.9.1
85+
nodeenv==1.10.0
8686
# via pyright
8787
nox==2025.11.12
8888
packaging==25.0
8989
# via dependency-groups
9090
# via nox
9191
# via pytest
92-
pathspec==0.12.1
92+
pathspec==1.0.3
9393
# via mypy
9494
platformdirs==4.4.0
9595
# via virtualenv
@@ -115,13 +115,13 @@ python-dateutil==2.9.0.post0
115115
# via time-machine
116116
respx==0.22.0
117117
rich==14.2.0
118-
ruff==0.14.7
118+
ruff==0.14.13
119119
six==1.17.0
120120
# via python-dateutil
121121
sniffio==1.3.1
122122
# via isaacus
123123
time-machine==2.19.0
124-
tomli==2.3.0
124+
tomli==2.4.0
125125
# via dependency-groups
126126
# via mypy
127127
# via nox
@@ -141,7 +141,7 @@ typing-extensions==4.15.0
141141
# via virtualenv
142142
typing-inspection==0.4.2
143143
# via pydantic
144-
virtualenv==20.35.4
144+
virtualenv==20.36.1
145145
# via nox
146146
yarl==1.22.0
147147
# via aiohttp

requirements.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
-e file:.
1313
aiohappyeyeballs==2.6.1
1414
# via aiohttp
15-
aiohttp==3.13.2
15+
aiohttp==3.13.3
1616
# via httpx-aiohttp
1717
# via isaacus
1818
aiosignal==1.4.0
1919
# via aiohttp
2020
annotated-types==0.7.0
2121
# via pydantic
22-
anyio==4.12.0
22+
anyio==4.12.1
2323
# via httpx
2424
# via isaacus
2525
async-timeout==5.0.1
2626
# via aiohttp
2727
attrs==25.4.0
2828
# via aiohttp
29-
certifi==2025.11.12
29+
certifi==2026.1.4
3030
# via httpcore
3131
# via httpx
3232
distro==1.9.0
@@ -43,7 +43,7 @@ httpcore==1.0.9
4343
httpx==0.28.1
4444
# via httpx-aiohttp
4545
# via isaacus
46-
httpx-aiohttp==0.1.9
46+
httpx-aiohttp==0.1.12
4747
# via isaacus
4848
idna==3.11
4949
# via anyio

src/isaacus/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "isaacus"
4-
__version__ = "0.17.1" # x-release-please-version
4+
__version__ = "0.18.0" # x-release-please-version

src/isaacus/resources/enrichments.py

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def create(
4949
*,
5050
model: Literal["kanon-2-enricher"],
5151
texts: Union[SequenceNotStr[str], str],
52-
overflow_strategy: Optional[Literal["auto", "drop_end"]] | Omit = omit,
52+
overflow_strategy: Optional[Literal["auto", "drop_end", "chunk"]] | Omit = omit,
5353
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5454
# The extra values given here take precedence over values defined on the client or passed to this method.
5555
extra_headers: Headers | None = None,
@@ -71,9 +71,15 @@ def create(
7171
7272
overflow_strategy: The strategy for handling content exceeding the model's maximum input length.
7373
74-
`auto` currently behaves the same as `drop_end`, dropping excess tokens from the
75-
end of input. In the future, `auto` may implement more sophisticated strategies
76-
such as chunking and context-aware stitching.
74+
`auto`, which is the default and recommended setting, currently behaves the same
75+
as `chunk`, which intelligently breaks the input up into smaller chunks and then
76+
stitches the results back together into a single prediction. In the future
77+
`auto` may implement even more sophisticated strategies for handling long
78+
contexts such as leveraging chunk overlap and/or a specialized stitching model.
79+
80+
`chunk` breaks the input up into smaller chunks that fit within the model's
81+
context window and then intelligently merges the results into a single
82+
prediction at the cost of a minor accuracy drop.
7783
7884
`drop_end` drops tokens from the end of input exceeding the model's maximum
7985
input length.
@@ -131,7 +137,7 @@ async def create(
131137
*,
132138
model: Literal["kanon-2-enricher"],
133139
texts: Union[SequenceNotStr[str], str],
134-
overflow_strategy: Optional[Literal["auto", "drop_end"]] | Omit = omit,
140+
overflow_strategy: Optional[Literal["auto", "drop_end", "chunk"]] | Omit = omit,
135141
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
136142
# The extra values given here take precedence over values defined on the client or passed to this method.
137143
extra_headers: Headers | None = None,
@@ -153,9 +159,15 @@ async def create(
153159
154160
overflow_strategy: The strategy for handling content exceeding the model's maximum input length.
155161
156-
`auto` currently behaves the same as `drop_end`, dropping excess tokens from the
157-
end of input. In the future, `auto` may implement more sophisticated strategies
158-
such as chunking and context-aware stitching.
162+
`auto`, which is the default and recommended setting, currently behaves the same
163+
as `chunk`, which intelligently breaks the input up into smaller chunks and then
164+
stitches the results back together into a single prediction. In the future
165+
`auto` may implement even more sophisticated strategies for handling long
166+
contexts such as leveraging chunk overlap and/or a specialized stitching model.
167+
168+
`chunk` breaks the input up into smaller chunks that fit within the model's
169+
context window and then intelligently merges the results into a single
170+
prediction at the cost of a minor accuracy drop.
159171
160172
`drop_end` drops tokens from the end of input exceeding the model's maximum
161173
input length.

src/isaacus/types/enrichment_create_params.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@ class EnrichmentCreateParams(TypedDict, total=False):
2525
No more than 8 texts can be enriched in a single request.
2626
"""
2727

28-
overflow_strategy: Optional[Literal["auto", "drop_end"]]
28+
overflow_strategy: Optional[Literal["auto", "drop_end", "chunk"]]
2929
"""The strategy for handling content exceeding the model's maximum input length.
3030
31-
`auto` currently behaves the same as `drop_end`, dropping excess tokens from the
32-
end of input. In the future, `auto` may implement more sophisticated strategies
33-
such as chunking and context-aware stitching.
31+
`auto`, which is the default and recommended setting, currently behaves the same
32+
as `chunk`, which intelligently breaks the input up into smaller chunks and then
33+
stitches the results back together into a single prediction. In the future
34+
`auto` may implement even more sophisticated strategies for handling long
35+
contexts such as leveraging chunk overlap and/or a specialized stitching model.
36+
37+
`chunk` breaks the input up into smaller chunks that fit within the model's
38+
context window and then intelligently merges the results into a single
39+
prediction at the cost of a minor accuracy drop.
3440
3541
`drop_end` drops tokens from the end of input exceeding the model's maximum
3642
input length.

src/isaacus/types/ilgs/v1/date.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class Date(BaseModel):
2626
mentioned in a document that does not fit into a supported type, it will not be
2727
extracted.
2828
29-
`creation` denotes the date the document was created. There may only be one
30-
`creation` date per document.
29+
`creation` denotes the date the document was created or last updated. There may
30+
only be one `creation` date per document.
3131
3232
`signature` denotes the date the document was signed.
3333

0 commit comments

Comments
 (0)