Skip to content

Commit 9adb964

Browse files
authored
Merge pull request #44 from isaacus-dev/release-please--branches--main--changes--next
release: 0.2.0
2 parents b2f3395 + e2e49ba commit 9adb964

File tree

8 files changed

+29
-7
lines changed

8 files changed

+29
-7
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.1.6"
2+
".": "0.2.0"
33
}

.stats.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
configured_endpoints: 1
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-ec269bff43481aeb5c72d3074aa31815ef915d435e78bc62b0290437a7b2992a.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-19689acec6acc1fe55f5b1f80b6029b2115db76aceb76da98a36e22115990af2.yml
3+
openapi_spec_hash: d647b0df96ea892932515aa18f690e2a
4+
config_hash: 8a781867f31df68b9c6fba04c165c647

CHANGELOG.md

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

3+
## 0.2.0 (2025-03-30)
4+
5+
Full Changelog: [v0.1.6...v0.2.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.6...v0.2.0)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **api:** started sorting chunks by score and added `index` field ([#45](https://github.com/isaacus-dev/isaacus-python/issues/45))
10+
11+
### Features
12+
13+
* **api:** started sorting chunks by score and added `index` field ([#45](https://github.com/isaacus-dev/isaacus-python/issues/45)) ([c9999cd](https://github.com/isaacus-dev/isaacus-python/commit/c9999cd77abfe0101a3d30536261a43404cfef6d))
14+
15+
16+
### Chores
17+
18+
* fix typos ([#43](https://github.com/isaacus-dev/isaacus-python/issues/43)) ([0667577](https://github.com/isaacus-dev/isaacus-python/commit/066757702f47e403a06cf057f20faa5fa955b135))
19+
320
## 0.1.6 (2025-03-18)
421

522
Full Changelog: [v0.1.5...v0.1.6](https://github.com/isaacus-dev/isaacus-python/compare/v0.1.5...v0.1.6)

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.1.6"
3+
version = "0.2.0"
44
description = "The official Python library for the isaacus API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/isaacus/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def set_pydantic_config(typ: Any, config: pydantic.ConfigDict) -> None:
681681
setattr(typ, "__pydantic_config__", config) # noqa: B010
682682

683683

684-
# our use of subclasssing here causes weirdness for type checkers,
684+
# our use of subclassing here causes weirdness for type checkers,
685685
# so we just pretend that we don't subclass
686686
if TYPE_CHECKING:
687687
GenericModel = BaseModel

src/isaacus/_utils/_transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _get_annotated_type(type_: type) -> type | None:
126126
def _maybe_transform_key(key: str, type_: type) -> str:
127127
"""Transform the given `data` based on the annotations provided in `type_`.
128128
129-
Note: this function only looks at `Annotated` types that contain `PropertInfo` metadata.
129+
Note: this function only looks at `Annotated` types that contain `PropertyInfo` metadata.
130130
"""
131131
annotated_type = _get_annotated_type(type_)
132132
if annotated_type is None:

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.1.6" # x-release-please-version
4+
__version__ = "0.2.0" # x-release-please-version

src/isaacus/types/classifications/universal_classification.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ class Chunk(BaseModel):
1111
end: int
1212
"""The end index of the chunk in the original text."""
1313

14+
index: int
15+
"""The index of the chunk in the list of chunks."""
16+
1417
score: float
1518
"""
1619
The model's score of the likelihood that the query expressed about the chunk is
@@ -37,7 +40,7 @@ class UniversalClassification(BaseModel):
3740
"""
3841
The text as broken into chunks by
3942
[semchunk](https://github.com/isaacus-dev/semchunk), each chunk with its own
40-
confidence score.
43+
confidence score, ordered from highest to lowest score.
4144
4245
If no chunking occurred, this will be `null`.
4346
"""

0 commit comments

Comments
 (0)