Skip to content

Commit 822a5b5

Browse files
feat(api): added latest OpenAPI specification (#13)
1 parent af1ee9e commit 822a5b5

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-122f6dc9b099db9cf1d8bac4ccd61be160eb26b203a7fc1daf4e1e188ff769c5.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-165073421dc9e01b5a19547bf462343e3fdc5579ad7c237e5f2c6223ec6c4f76.yml

src/isaacus/resources/classifications/universal.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ def create(
7575
7676
The query must contain at least one non-whitespace character.
7777
78+
Unlike the text being classified, the query cannot be so long that it exceeds
79+
the maximum input length of the universal classifier.
80+
7881
text: The text to classify.
7982
8083
The text must contain at least one non-whitespace character.
@@ -172,6 +175,9 @@ async def create(
172175
173176
The query must contain at least one non-whitespace character.
174177
178+
Unlike the text being classified, the query cannot be so long that it exceeds
179+
the maximum input length of the universal classifier.
180+
175181
text: The text to classify.
176182
177183
The text must contain at least one non-whitespace character.

src/isaacus/types/classifications/universal_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class UniversalCreateParams(TypedDict, total=False):
1818
evaluate the text against.
1919
2020
The query must contain at least one non-whitespace character.
21+
22+
Unlike the text being classified, the query cannot be so long that it exceeds
23+
the maximum input length of the universal classifier.
2124
"""
2225

2326
text: Required[str]

0 commit comments

Comments
 (0)