Skip to content
Merged
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.13.0"
".": "0.14.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-fa910a5a3d1321234423bd8c042d202a64d4d956ef45847b4de358cb18e447eb.yml
openapi_spec_hash: 926b9b619c15e8570e496e11d4fb753e
config_hash: e26cc2858d2a56a077aee5473a5746df
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-3cce91df023b807a4471d16453720e5962966b270abd3eee54711d74cfbd092e.yml
openapi_spec_hash: 5d9892dfcf03fd24c38775951636e5fb
config_hash: 7b8cddc2fa896f9ab05e6b05055c7f27
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.14.0 (2026-02-04)

Full Changelog: [v0.13.0...v0.14.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.13.0...v0.14.0)

### Features

* **api:** add a `text` field ([a1842eb](https://github.com/isaacus-dev/isaacus-python/commit/a1842eb23c4f6b142fae8aa5634a65e303eb8b78))
* **api:** add level field to ILGS v1 segments ([63e8455](https://github.com/isaacus-dev/isaacus-python/commit/63e845506ef701eaff5cb85652a083e380b03dbc))
* **sdk:** add ilgs v1 span as a top model ([b30f176](https://github.com/isaacus-dev/isaacus-python/commit/b30f176d23a7eabb18d92d716f8d35b2fc9f454b))
* **sdk:** demote other models ([873f1a4](https://github.com/isaacus-dev/isaacus-python/commit/873f1a49d107be25de7b515b4796f2090e3885bf))
* **sdk:** move ilgs structs around ([cd485eb](https://github.com/isaacus-dev/isaacus-python/commit/cd485eb173c7f454aecfd114121672172a75824c))
* **sdk:** move ilgs structs around ([920e2bb](https://github.com/isaacus-dev/isaacus-python/commit/920e2bbf07e7aea58fabbd6b31ecd96050c43957))
* **sdk:** move ilgs structs around ([d3068e3](https://github.com/isaacus-dev/isaacus-python/commit/d3068e38f718f52cc9b46dc6e60efa5dc911f10a))
* **sdk:** move ilgs structs around ([6ea6db6](https://github.com/isaacus-dev/isaacus-python/commit/6ea6db6d15b754c6f2ffd5aa235d7b8abb1e3ad1))
* **sdk:** move ilgs structs around ([1f9c511](https://github.com/isaacus-dev/isaacus-python/commit/1f9c5116054a44d62013e5c82ba9d85d38b28f33))

## 0.13.0 (2026-02-04)

Full Changelog: [v0.12.0...v0.13.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.12.0...v0.13.0)
Expand Down
8 changes: 6 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,16 @@ Methods:

- <code title="post /enrichments">client.enrichments.<a href="./src/isaacus/resources/enrichments.py">create</a>(\*\*<a href="src/isaacus/types/enrichment_create_params.py">params</a>) -> <a href="./src/isaacus/types/enrichment_response.py">EnrichmentResponse</a></code>

# ILGSv1
# ILGS

## v1

### v1

Types:

```python
from isaacus.types import (
from isaacus.types.ilgs.v1 import (
Crossreference,
Date,
Document,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "isaacus"
version = "0.13.0"
version = "0.14.0"
description = "The official Python library for the isaacus API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/isaacus/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "isaacus"
__version__ = "0.13.0" # x-release-please-version
__version__ = "0.14.0" # x-release-please-version
14 changes: 0 additions & 14 deletions src/isaacus/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,6 @@

from __future__ import annotations

from .date import Date as Date
from .span import Span as Span
from .term import Term as Term
from .email import Email as Email
from .quote import Quote as Quote
from .person import Person as Person
from .segment import Segment as Segment
from .website import Website as Website
from .document import Document as Document
from .location import Location as Location
from .id_number import IDNumber as IDNumber
from .phone_number import PhoneNumber as PhoneNumber
from .crossreference import Crossreference as Crossreference
from .external_document import ExternalDocument as ExternalDocument
from .embedding_response import EmbeddingResponse as EmbeddingResponse
from .reranking_response import RerankingResponse as RerankingResponse
from .enrichment_response import EnrichmentResponse as EnrichmentResponse
Expand Down
2 changes: 1 addition & 1 deletion src/isaacus/types/enrichment_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

from .._models import BaseModel
from .document import Document
from .ilgs.v1.document import Document

__all__ = ["EnrichmentResponse", "Result", "Usage"]

Expand Down
3 changes: 3 additions & 0 deletions src/isaacus/types/ilgs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations
18 changes: 18 additions & 0 deletions src/isaacus/types/ilgs/v1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from .date import Date as Date
from .span import Span as Span
from .term import Term as Term
from .email import Email as Email
from .quote import Quote as Quote
from .person import Person as Person
from .segment import Segment as Segment
from .website import Website as Website
from .document import Document as Document
from .location import Location as Location
from .id_number import IDNumber as IDNumber
from .phone_number import PhoneNumber as PhoneNumber
from .crossreference import Crossreference as Crossreference
from .external_document import ExternalDocument as ExternalDocument
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Crossreference"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing_extensions import Literal

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Date"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from .person import Person
from .segment import Segment
from .website import Website
from .._models import BaseModel
from .location import Location
from .id_number import IDNumber
from ...._models import BaseModel
from .phone_number import PhoneNumber
from .crossreference import Crossreference
from .external_document import ExternalDocument
Expand All @@ -24,6 +24,9 @@
class Document(BaseModel):
"""The enriched document."""

text: str
"""The text of the document."""

title: Optional[Span] = None
"""A zero-based, half-open span into the Unicode code point space of input text.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Email"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing_extensions import Literal

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["ExternalDocument"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["IDNumber"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing_extensions import Literal

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Location"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing_extensions import Literal

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Person"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["PhoneNumber"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Optional

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Quote"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing_extensions import Literal

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Segment"]

Expand Down Expand Up @@ -188,6 +188,12 @@ class Segment(BaseModel):
a non-negative incrementing integer starting from zero.
"""

level: int
"""
The level of the segment within the document's segment hierarchy starting from
`0` for root-level segments.
"""

span: Span
"""A zero-based, half-open span into the Unicode code point space of input text.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Span"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Term"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

from .span import Span
from .._models import BaseModel
from ...._models import BaseModel

__all__ = ["Website"]

Expand Down