Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.19.3"
".": "0.19.4"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.19.4 (2026-03-03)

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

### Chores

* **internal:** codegen related update ([025587b](https://github.com/isaacus-dev/isaacus-python/commit/025587b946c3ece7a34a346280dbd688880a7276))

## 0.19.3 (2026-03-03)

Full Changelog: [v0.19.2...v0.19.3](https://github.com/isaacus-dev/isaacus-python/compare/v0.19.2...v0.19.3)
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.19.3"
version = "0.19.4"
description = "The official Python library for the isaacus API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
24 changes: 24 additions & 0 deletions src/isaacus/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def __init__(

@cached_property
def embeddings(self) -> EmbeddingsResource:
"""Embed legal texts with Isaacus legal AI embedders."""
from .resources.embeddings import EmbeddingsResource

return EmbeddingsResource(self)
Expand All @@ -110,6 +111,9 @@ def classifications(self) -> ClassificationsResource:

@cached_property
def rerankings(self) -> RerankingsResource:
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""
from .resources.rerankings import RerankingsResource

return RerankingsResource(self)
Expand Down Expand Up @@ -296,6 +300,7 @@ def __init__(

@cached_property
def embeddings(self) -> AsyncEmbeddingsResource:
"""Embed legal texts with Isaacus legal AI embedders."""
from .resources.embeddings import AsyncEmbeddingsResource

return AsyncEmbeddingsResource(self)
Expand All @@ -308,6 +313,9 @@ def classifications(self) -> AsyncClassificationsResource:

@cached_property
def rerankings(self) -> AsyncRerankingsResource:
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""
from .resources.rerankings import AsyncRerankingsResource

return AsyncRerankingsResource(self)
Expand Down Expand Up @@ -445,6 +453,7 @@ def __init__(self, client: Isaacus) -> None:

@cached_property
def embeddings(self) -> embeddings.EmbeddingsResourceWithRawResponse:
"""Embed legal texts with Isaacus legal AI embedders."""
from .resources.embeddings import EmbeddingsResourceWithRawResponse

return EmbeddingsResourceWithRawResponse(self._client.embeddings)
Expand All @@ -457,6 +466,9 @@ def classifications(self) -> classifications.ClassificationsResourceWithRawRespo

@cached_property
def rerankings(self) -> rerankings.RerankingsResourceWithRawResponse:
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""
from .resources.rerankings import RerankingsResourceWithRawResponse

return RerankingsResourceWithRawResponse(self._client.rerankings)
Expand All @@ -482,6 +494,7 @@ def __init__(self, client: AsyncIsaacus) -> None:

@cached_property
def embeddings(self) -> embeddings.AsyncEmbeddingsResourceWithRawResponse:
"""Embed legal texts with Isaacus legal AI embedders."""
from .resources.embeddings import AsyncEmbeddingsResourceWithRawResponse

return AsyncEmbeddingsResourceWithRawResponse(self._client.embeddings)
Expand All @@ -494,6 +507,9 @@ def classifications(self) -> classifications.AsyncClassificationsResourceWithRaw

@cached_property
def rerankings(self) -> rerankings.AsyncRerankingsResourceWithRawResponse:
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""
from .resources.rerankings import AsyncRerankingsResourceWithRawResponse

return AsyncRerankingsResourceWithRawResponse(self._client.rerankings)
Expand All @@ -519,6 +535,7 @@ def __init__(self, client: Isaacus) -> None:

@cached_property
def embeddings(self) -> embeddings.EmbeddingsResourceWithStreamingResponse:
"""Embed legal texts with Isaacus legal AI embedders."""
from .resources.embeddings import EmbeddingsResourceWithStreamingResponse

return EmbeddingsResourceWithStreamingResponse(self._client.embeddings)
Expand All @@ -531,6 +548,9 @@ def classifications(self) -> classifications.ClassificationsResourceWithStreamin

@cached_property
def rerankings(self) -> rerankings.RerankingsResourceWithStreamingResponse:
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""
from .resources.rerankings import RerankingsResourceWithStreamingResponse

return RerankingsResourceWithStreamingResponse(self._client.rerankings)
Expand All @@ -556,6 +576,7 @@ def __init__(self, client: AsyncIsaacus) -> None:

@cached_property
def embeddings(self) -> embeddings.AsyncEmbeddingsResourceWithStreamingResponse:
"""Embed legal texts with Isaacus legal AI embedders."""
from .resources.embeddings import AsyncEmbeddingsResourceWithStreamingResponse

return AsyncEmbeddingsResourceWithStreamingResponse(self._client.embeddings)
Expand All @@ -568,6 +589,9 @@ def classifications(self) -> classifications.AsyncClassificationsResourceWithStr

@cached_property
def rerankings(self) -> rerankings.AsyncRerankingsResourceWithStreamingResponse:
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""
from .resources.rerankings import AsyncRerankingsResourceWithStreamingResponse

return AsyncRerankingsResourceWithStreamingResponse(self._client.rerankings)
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.19.3" # x-release-please-version
__version__ = "0.19.4" # x-release-please-version
6 changes: 6 additions & 0 deletions src/isaacus/resources/classifications/classifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
class ClassificationsResource(SyncAPIResource):
@cached_property
def universal(self) -> UniversalResource:
"""Classify legal documents with Isaacus legal AI classifiers."""
return UniversalResource(self._client)

@cached_property
Expand All @@ -44,6 +45,7 @@ def with_streaming_response(self) -> ClassificationsResourceWithStreamingRespons
class AsyncClassificationsResource(AsyncAPIResource):
@cached_property
def universal(self) -> AsyncUniversalResource:
"""Classify legal documents with Isaacus legal AI classifiers."""
return AsyncUniversalResource(self._client)

@cached_property
Expand Down Expand Up @@ -72,6 +74,7 @@ def __init__(self, classifications: ClassificationsResource) -> None:

@cached_property
def universal(self) -> UniversalResourceWithRawResponse:
"""Classify legal documents with Isaacus legal AI classifiers."""
return UniversalResourceWithRawResponse(self._classifications.universal)


Expand All @@ -81,6 +84,7 @@ def __init__(self, classifications: AsyncClassificationsResource) -> None:

@cached_property
def universal(self) -> AsyncUniversalResourceWithRawResponse:
"""Classify legal documents with Isaacus legal AI classifiers."""
return AsyncUniversalResourceWithRawResponse(self._classifications.universal)


Expand All @@ -90,6 +94,7 @@ def __init__(self, classifications: ClassificationsResource) -> None:

@cached_property
def universal(self) -> UniversalResourceWithStreamingResponse:
"""Classify legal documents with Isaacus legal AI classifiers."""
return UniversalResourceWithStreamingResponse(self._classifications.universal)


Expand All @@ -99,4 +104,5 @@ def __init__(self, classifications: AsyncClassificationsResource) -> None:

@cached_property
def universal(self) -> AsyncUniversalResourceWithStreamingResponse:
"""Classify legal documents with Isaacus legal AI classifiers."""
return AsyncUniversalResourceWithStreamingResponse(self._classifications.universal)
4 changes: 4 additions & 0 deletions src/isaacus/resources/classifications/universal/universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@


class UniversalResource(SyncAPIResource):
"""Classify legal documents with Isaacus legal AI classifiers."""

@cached_property
def with_raw_response(self) -> UniversalResourceWithRawResponse:
"""
Expand Down Expand Up @@ -126,6 +128,8 @@ def create(


class AsyncUniversalResource(AsyncAPIResource):
"""Classify legal documents with Isaacus legal AI classifiers."""

@cached_property
def with_raw_response(self) -> AsyncUniversalResourceWithRawResponse:
"""
Expand Down
4 changes: 4 additions & 0 deletions src/isaacus/resources/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@


class EmbeddingsResource(SyncAPIResource):
"""Embed legal texts with Isaacus legal AI embedders."""

@cached_property
def with_raw_response(self) -> EmbeddingsResourceWithRawResponse:
"""
Expand Down Expand Up @@ -118,6 +120,8 @@ def create(


class AsyncEmbeddingsResource(AsyncAPIResource):
"""Embed legal texts with Isaacus legal AI embedders."""

@cached_property
def with_raw_response(self) -> AsyncEmbeddingsResourceWithRawResponse:
"""
Expand Down
6 changes: 6 additions & 0 deletions src/isaacus/resources/extractions/extractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
class ExtractionsResource(SyncAPIResource):
@cached_property
def qa(self) -> QAResource:
"""Extract information from legal documents with Isaacus legal AI extractors."""
return QAResource(self._client)

@cached_property
Expand All @@ -44,6 +45,7 @@ def with_streaming_response(self) -> ExtractionsResourceWithStreamingResponse:
class AsyncExtractionsResource(AsyncAPIResource):
@cached_property
def qa(self) -> AsyncQAResource:
"""Extract information from legal documents with Isaacus legal AI extractors."""
return AsyncQAResource(self._client)

@cached_property
Expand Down Expand Up @@ -72,6 +74,7 @@ def __init__(self, extractions: ExtractionsResource) -> None:

@cached_property
def qa(self) -> QAResourceWithRawResponse:
"""Extract information from legal documents with Isaacus legal AI extractors."""
return QAResourceWithRawResponse(self._extractions.qa)


Expand All @@ -81,6 +84,7 @@ def __init__(self, extractions: AsyncExtractionsResource) -> None:

@cached_property
def qa(self) -> AsyncQAResourceWithRawResponse:
"""Extract information from legal documents with Isaacus legal AI extractors."""
return AsyncQAResourceWithRawResponse(self._extractions.qa)


Expand All @@ -90,6 +94,7 @@ def __init__(self, extractions: ExtractionsResource) -> None:

@cached_property
def qa(self) -> QAResourceWithStreamingResponse:
"""Extract information from legal documents with Isaacus legal AI extractors."""
return QAResourceWithStreamingResponse(self._extractions.qa)


Expand All @@ -99,4 +104,5 @@ def __init__(self, extractions: AsyncExtractionsResource) -> None:

@cached_property
def qa(self) -> AsyncQAResourceWithStreamingResponse:
"""Extract information from legal documents with Isaacus legal AI extractors."""
return AsyncQAResourceWithStreamingResponse(self._extractions.qa)
4 changes: 4 additions & 0 deletions src/isaacus/resources/extractions/qa/qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@


class QAResource(SyncAPIResource):
"""Extract information from legal documents with Isaacus legal AI extractors."""

@cached_property
def with_raw_response(self) -> QAResourceWithRawResponse:
"""
Expand Down Expand Up @@ -125,6 +127,8 @@ def create(


class AsyncQAResource(AsyncAPIResource):
"""Extract information from legal documents with Isaacus legal AI extractors."""

@cached_property
def with_raw_response(self) -> AsyncQAResourceWithRawResponse:
"""
Expand Down
8 changes: 8 additions & 0 deletions src/isaacus/resources/rerankings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@


class RerankingsResource(SyncAPIResource):
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""

@cached_property
def with_raw_response(self) -> RerankingsResourceWithRawResponse:
"""
Expand Down Expand Up @@ -136,6 +140,10 @@ def create(


class AsyncRerankingsResource(AsyncAPIResource):
"""
Rerank legal documents by their relevance to queries with Isaacus legal AI rerankers.
"""

@cached_property
def with_raw_response(self) -> AsyncRerankingsResourceWithRawResponse:
"""
Expand Down