isaacus 0.10.1__tar.gz → 0.11.0__tar.gz
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.
- isaacus-0.11.0/.release-please-manifest.json +3 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/CHANGELOG.md +8 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/PKG-INFO +1 -1
- {isaacus-0.10.1 → isaacus-0.11.0}/pyproject.toml +1 -1
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_version.py +1 -1
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/enrichments.py +2 -2
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/enrichment_create_params.py +1 -1
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/test_enrichments.py +8 -8
- isaacus-0.10.1/.release-please-manifest.json +0 -3
- {isaacus-0.10.1 → isaacus-0.11.0}/.gitignore +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/CONTRIBUTING.md +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/LICENSE +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/README.md +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/SECURITY.md +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/api.md +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/bin/check-release-environment +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/bin/publish-pypi +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/examples/.keep +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/noxfile.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/release-please-config.json +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/requirements-dev.lock +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/requirements.lock +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_base_client.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_client.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_compat.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_constants.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_exceptions.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_files.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_models.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_qs.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_resource.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_streaming.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_types.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_compat.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_datetime_parse.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_json.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_logs.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_proxy.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_reflection.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_resources_proxy.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_streams.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_sync.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_transform.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_typing.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/_utils/_utils.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/lib/.keep +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/py.typed +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/classifications/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/classifications/classifications.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/classifications/universal.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/embeddings.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/extractions/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/extractions/extractions.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/extractions/qa.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/resources/rerankings.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/classifications/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/classifications/universal_classification_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/classifications/universal_create_params.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/embedding_create_params.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/embedding_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/enrichment_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/extractions/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/extractions/answer_extraction_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/extractions/qa_create_params.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/reranking_create_params.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/reranking_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/classifications/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/classifications/test_universal.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/extractions/__init__.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/extractions/test_qa.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/test_embeddings.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/api_resources/test_rerankings.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/conftest.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/sample_file.txt +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_client.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_deepcopy.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_extract_files.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_files.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_models.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_qs.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_required_args.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_response.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_streaming.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_transform.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_utils/test_json.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_utils/test_proxy.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/test_utils/test_typing.py +0 -0
- {isaacus-0.10.1 → isaacus-0.11.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.0 (2026-02-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.10.1...v0.11.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.10.1...v0.11.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** remove -preview from model name ([e86f57d](https://github.com/isaacus-dev/isaacus-python/commit/e86f57dc2ac6c1f5a11973aaf1c4e5c19b6b2ec6))
|
|
10
|
+
|
|
3
11
|
## 0.10.1 (2026-02-03)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.10.0...v0.10.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.10.0...v0.10.1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: isaacus
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Summary: The official Python library for the isaacus API
|
|
5
5
|
Project-URL: Homepage, https://github.com/isaacus-dev/isaacus-python
|
|
6
6
|
Project-URL: Repository, https://github.com/isaacus-dev/isaacus-python
|
|
@@ -47,7 +47,7 @@ class EnrichmentsResource(SyncAPIResource):
|
|
|
47
47
|
def create(
|
|
48
48
|
self,
|
|
49
49
|
*,
|
|
50
|
-
model: Literal["kanon-2-enricher
|
|
50
|
+
model: Literal["kanon-2-enricher"],
|
|
51
51
|
texts: Union[SequenceNotStr[str], str],
|
|
52
52
|
overflow_strategy: Optional[Literal["auto", "drop_end"]] | Omit = omit,
|
|
53
53
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -129,7 +129,7 @@ class AsyncEnrichmentsResource(AsyncAPIResource):
|
|
|
129
129
|
async def create(
|
|
130
130
|
self,
|
|
131
131
|
*,
|
|
132
|
-
model: Literal["kanon-2-enricher
|
|
132
|
+
model: Literal["kanon-2-enricher"],
|
|
133
133
|
texts: Union[SequenceNotStr[str], str],
|
|
134
134
|
overflow_strategy: Optional[Literal["auto", "drop_end"]] | Omit = omit,
|
|
135
135
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -11,7 +11,7 @@ __all__ = ["EnrichmentCreateParams"]
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class EnrichmentCreateParams(TypedDict, total=False):
|
|
14
|
-
model: Required[Literal["kanon-2-enricher
|
|
14
|
+
model: Required[Literal["kanon-2-enricher"]]
|
|
15
15
|
"""
|
|
16
16
|
The ID of the [model](https://docs.isaacus.com/models#enrichment) to use for
|
|
17
17
|
enrichment.
|
|
@@ -21,7 +21,7 @@ class TestEnrichments:
|
|
|
21
21
|
@parametrize
|
|
22
22
|
def test_method_create(self, client: Isaacus) -> None:
|
|
23
23
|
enrichment = client.enrichments.create(
|
|
24
|
-
model="kanon-2-enricher
|
|
24
|
+
model="kanon-2-enricher",
|
|
25
25
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
26
26
|
)
|
|
27
27
|
assert_matches_type(EnrichmentResponse, enrichment, path=["response"])
|
|
@@ -30,7 +30,7 @@ class TestEnrichments:
|
|
|
30
30
|
@parametrize
|
|
31
31
|
def test_method_create_with_all_params(self, client: Isaacus) -> None:
|
|
32
32
|
enrichment = client.enrichments.create(
|
|
33
|
-
model="kanon-2-enricher
|
|
33
|
+
model="kanon-2-enricher",
|
|
34
34
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
35
35
|
overflow_strategy=None,
|
|
36
36
|
)
|
|
@@ -40,7 +40,7 @@ class TestEnrichments:
|
|
|
40
40
|
@parametrize
|
|
41
41
|
def test_raw_response_create(self, client: Isaacus) -> None:
|
|
42
42
|
response = client.enrichments.with_raw_response.create(
|
|
43
|
-
model="kanon-2-enricher
|
|
43
|
+
model="kanon-2-enricher",
|
|
44
44
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
45
45
|
)
|
|
46
46
|
|
|
@@ -53,7 +53,7 @@ class TestEnrichments:
|
|
|
53
53
|
@parametrize
|
|
54
54
|
def test_streaming_response_create(self, client: Isaacus) -> None:
|
|
55
55
|
with client.enrichments.with_streaming_response.create(
|
|
56
|
-
model="kanon-2-enricher
|
|
56
|
+
model="kanon-2-enricher",
|
|
57
57
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
58
58
|
) as response:
|
|
59
59
|
assert not response.is_closed
|
|
@@ -74,7 +74,7 @@ class TestAsyncEnrichments:
|
|
|
74
74
|
@parametrize
|
|
75
75
|
async def test_method_create(self, async_client: AsyncIsaacus) -> None:
|
|
76
76
|
enrichment = await async_client.enrichments.create(
|
|
77
|
-
model="kanon-2-enricher
|
|
77
|
+
model="kanon-2-enricher",
|
|
78
78
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
79
79
|
)
|
|
80
80
|
assert_matches_type(EnrichmentResponse, enrichment, path=["response"])
|
|
@@ -83,7 +83,7 @@ class TestAsyncEnrichments:
|
|
|
83
83
|
@parametrize
|
|
84
84
|
async def test_method_create_with_all_params(self, async_client: AsyncIsaacus) -> None:
|
|
85
85
|
enrichment = await async_client.enrichments.create(
|
|
86
|
-
model="kanon-2-enricher
|
|
86
|
+
model="kanon-2-enricher",
|
|
87
87
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
88
88
|
overflow_strategy=None,
|
|
89
89
|
)
|
|
@@ -93,7 +93,7 @@ class TestAsyncEnrichments:
|
|
|
93
93
|
@parametrize
|
|
94
94
|
async def test_raw_response_create(self, async_client: AsyncIsaacus) -> None:
|
|
95
95
|
response = await async_client.enrichments.with_raw_response.create(
|
|
96
|
-
model="kanon-2-enricher
|
|
96
|
+
model="kanon-2-enricher",
|
|
97
97
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
98
98
|
)
|
|
99
99
|
|
|
@@ -106,7 +106,7 @@ class TestAsyncEnrichments:
|
|
|
106
106
|
@parametrize
|
|
107
107
|
async def test_streaming_response_create(self, async_client: AsyncIsaacus) -> None:
|
|
108
108
|
async with async_client.enrichments.with_streaming_response.create(
|
|
109
|
-
model="kanon-2-enricher
|
|
109
|
+
model="kanon-2-enricher",
|
|
110
110
|
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
|
|
111
111
|
) as response:
|
|
112
112
|
assert not response.is_closed
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/classifications/universal_create_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{isaacus-0.10.1 → isaacus-0.11.0}/src/isaacus/types/extractions/answer_extraction_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|