isaacus 0.10.0__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.
Files changed (96) hide show
  1. isaacus-0.11.0/.release-please-manifest.json +3 -0
  2. {isaacus-0.10.0 → isaacus-0.11.0}/CHANGELOG.md +16 -0
  3. {isaacus-0.10.0 → isaacus-0.11.0}/PKG-INFO +1 -1
  4. {isaacus-0.10.0 → isaacus-0.11.0}/pyproject.toml +1 -1
  5. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_version.py +1 -1
  6. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/enrichments.py +2 -2
  7. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/enrichment_create_params.py +1 -1
  8. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/enrichment_response.py +200 -0
  9. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/test_enrichments.py +8 -8
  10. isaacus-0.10.0/.release-please-manifest.json +0 -3
  11. {isaacus-0.10.0 → isaacus-0.11.0}/.gitignore +0 -0
  12. {isaacus-0.10.0 → isaacus-0.11.0}/CONTRIBUTING.md +0 -0
  13. {isaacus-0.10.0 → isaacus-0.11.0}/LICENSE +0 -0
  14. {isaacus-0.10.0 → isaacus-0.11.0}/README.md +0 -0
  15. {isaacus-0.10.0 → isaacus-0.11.0}/SECURITY.md +0 -0
  16. {isaacus-0.10.0 → isaacus-0.11.0}/api.md +0 -0
  17. {isaacus-0.10.0 → isaacus-0.11.0}/bin/check-release-environment +0 -0
  18. {isaacus-0.10.0 → isaacus-0.11.0}/bin/publish-pypi +0 -0
  19. {isaacus-0.10.0 → isaacus-0.11.0}/examples/.keep +0 -0
  20. {isaacus-0.10.0 → isaacus-0.11.0}/noxfile.py +0 -0
  21. {isaacus-0.10.0 → isaacus-0.11.0}/release-please-config.json +0 -0
  22. {isaacus-0.10.0 → isaacus-0.11.0}/requirements-dev.lock +0 -0
  23. {isaacus-0.10.0 → isaacus-0.11.0}/requirements.lock +0 -0
  24. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/__init__.py +0 -0
  25. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_base_client.py +0 -0
  26. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_client.py +0 -0
  27. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_compat.py +0 -0
  28. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_constants.py +0 -0
  29. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_exceptions.py +0 -0
  30. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_files.py +0 -0
  31. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_models.py +0 -0
  32. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_qs.py +0 -0
  33. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_resource.py +0 -0
  34. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_response.py +0 -0
  35. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_streaming.py +0 -0
  36. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_types.py +0 -0
  37. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/__init__.py +0 -0
  38. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_compat.py +0 -0
  39. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_datetime_parse.py +0 -0
  40. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_json.py +0 -0
  41. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_logs.py +0 -0
  42. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_proxy.py +0 -0
  43. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_reflection.py +0 -0
  44. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_resources_proxy.py +0 -0
  45. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_streams.py +0 -0
  46. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_sync.py +0 -0
  47. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_transform.py +0 -0
  48. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_typing.py +0 -0
  49. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/_utils/_utils.py +0 -0
  50. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/lib/.keep +0 -0
  51. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/py.typed +0 -0
  52. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/__init__.py +0 -0
  53. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/classifications/__init__.py +0 -0
  54. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/classifications/classifications.py +0 -0
  55. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/classifications/universal.py +0 -0
  56. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/embeddings.py +0 -0
  57. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/extractions/__init__.py +0 -0
  58. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/extractions/extractions.py +0 -0
  59. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/extractions/qa.py +0 -0
  60. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/resources/rerankings.py +0 -0
  61. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/__init__.py +0 -0
  62. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/classifications/__init__.py +0 -0
  63. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/classifications/universal_classification_response.py +0 -0
  64. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/classifications/universal_create_params.py +0 -0
  65. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/embedding_create_params.py +0 -0
  66. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/embedding_response.py +0 -0
  67. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/extractions/__init__.py +0 -0
  68. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/extractions/answer_extraction_response.py +0 -0
  69. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/extractions/qa_create_params.py +0 -0
  70. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/reranking_create_params.py +0 -0
  71. {isaacus-0.10.0 → isaacus-0.11.0}/src/isaacus/types/reranking_response.py +0 -0
  72. {isaacus-0.10.0 → isaacus-0.11.0}/tests/__init__.py +0 -0
  73. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/__init__.py +0 -0
  74. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/classifications/__init__.py +0 -0
  75. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/classifications/test_universal.py +0 -0
  76. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/extractions/__init__.py +0 -0
  77. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/extractions/test_qa.py +0 -0
  78. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/test_embeddings.py +0 -0
  79. {isaacus-0.10.0 → isaacus-0.11.0}/tests/api_resources/test_rerankings.py +0 -0
  80. {isaacus-0.10.0 → isaacus-0.11.0}/tests/conftest.py +0 -0
  81. {isaacus-0.10.0 → isaacus-0.11.0}/tests/sample_file.txt +0 -0
  82. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_client.py +0 -0
  83. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_deepcopy.py +0 -0
  84. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_extract_files.py +0 -0
  85. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_files.py +0 -0
  86. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_models.py +0 -0
  87. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_qs.py +0 -0
  88. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_required_args.py +0 -0
  89. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_response.py +0 -0
  90. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_streaming.py +0 -0
  91. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_transform.py +0 -0
  92. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_utils/test_datetime_parse.py +0 -0
  93. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_utils/test_json.py +0 -0
  94. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_utils/test_proxy.py +0 -0
  95. {isaacus-0.10.0 → isaacus-0.11.0}/tests/test_utils/test_typing.py +0 -0
  96. {isaacus-0.10.0 → isaacus-0.11.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.11.0"
3
+ }
@@ -1,5 +1,21 @@
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
+
11
+ ## 0.10.1 (2026-02-03)
12
+
13
+ Full Changelog: [v0.10.0...v0.10.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.10.0...v0.10.1)
14
+
15
+ ### Documentation
16
+
17
+ * **api:** added examples to 200 response codes ([a92b0d7](https://github.com/isaacus-dev/isaacus-python/commit/a92b0d79fad4552d3be5442dec404791f08040e1))
18
+
3
19
  ## 0.10.0 (2026-02-03)
4
20
 
5
21
  Full Changelog: [v0.9.1...v0.10.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.9.1...v0.10.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: isaacus
3
- Version: 0.10.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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "isaacus"
3
- version = "0.10.0"
3
+ version = "0.11.0"
4
4
  description = "The official Python library for the isaacus API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "isaacus"
4
- __version__ = "0.10.0" # x-release-please-version
4
+ __version__ = "0.11.0" # x-release-please-version
@@ -47,7 +47,7 @@ class EnrichmentsResource(SyncAPIResource):
47
47
  def create(
48
48
  self,
49
49
  *,
50
- model: Literal["kanon-2-enricher-preview"],
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-preview"],
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-preview"]]
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.
@@ -54,8 +54,16 @@ class ResultDocumentCrossreferenceSpan(BaseModel):
54
54
  """The span of the segment within the document's text."""
55
55
 
56
56
  end: int
57
+ """
58
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
59
+ Unicode code points in the input text.
60
+ """
57
61
 
58
62
  start: int
63
+ """
64
+ The zero-based start index of the half-open span of Unicode code points in the
65
+ input text.
66
+ """
59
67
 
60
68
 
61
69
  class ResultDocumentCrossreference(BaseModel):
@@ -92,8 +100,16 @@ class ResultDocumentDateMention(BaseModel):
92
100
  """
93
101
 
94
102
  end: int
103
+ """
104
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
105
+ Unicode code points in the input text.
106
+ """
95
107
 
96
108
  start: int
109
+ """
110
+ The zero-based start index of the half-open span of Unicode code points in the
111
+ input text.
112
+ """
97
113
 
98
114
 
99
115
  class ResultDocumentDate(BaseModel):
@@ -168,8 +184,16 @@ class ResultDocumentEmailMention(BaseModel):
168
184
  """
169
185
 
170
186
  end: int
187
+ """
188
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
189
+ Unicode code points in the input text.
190
+ """
171
191
 
172
192
  start: int
193
+ """
194
+ The zero-based start index of the half-open span of Unicode code points in the
195
+ input text.
196
+ """
173
197
 
174
198
 
175
199
  class ResultDocumentEmail(BaseModel):
@@ -202,16 +226,32 @@ class ResultDocumentExternalDocumentMention(BaseModel):
202
226
  """
203
227
 
204
228
  end: int
229
+ """
230
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
231
+ Unicode code points in the input text.
232
+ """
205
233
 
206
234
  start: int
235
+ """
236
+ The zero-based start index of the half-open span of Unicode code points in the
237
+ input text.
238
+ """
207
239
 
208
240
 
209
241
  class ResultDocumentExternalDocumentName(BaseModel):
210
242
  """The span of the segment within the document's text."""
211
243
 
212
244
  end: int
245
+ """
246
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
247
+ Unicode code points in the input text.
248
+ """
213
249
 
214
250
  start: int
251
+ """
252
+ The zero-based start index of the half-open span of Unicode code points in the
253
+ input text.
254
+ """
215
255
 
216
256
 
217
257
  class ResultDocumentExternalDocumentPinpoint(BaseModel):
@@ -225,8 +265,16 @@ class ResultDocumentExternalDocumentPinpoint(BaseModel):
225
265
  """
226
266
 
227
267
  end: int
268
+ """
269
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
270
+ Unicode code points in the input text.
271
+ """
228
272
 
229
273
  start: int
274
+ """
275
+ The zero-based start index of the half-open span of Unicode code points in the
276
+ input text.
277
+ """
230
278
 
231
279
 
232
280
  class ResultDocumentExternalDocument(BaseModel):
@@ -319,8 +367,16 @@ class ResultDocumentHeading(BaseModel):
319
367
  """
320
368
 
321
369
  end: int
370
+ """
371
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
372
+ Unicode code points in the input text.
373
+ """
322
374
 
323
375
  start: int
376
+ """
377
+ The zero-based start index of the half-open span of Unicode code points in the
378
+ input text.
379
+ """
324
380
 
325
381
 
326
382
  class ResultDocumentIDNumberMention(BaseModel):
@@ -334,8 +390,16 @@ class ResultDocumentIDNumberMention(BaseModel):
334
390
  """
335
391
 
336
392
  end: int
393
+ """
394
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
395
+ Unicode code points in the input text.
396
+ """
337
397
 
338
398
  start: int
399
+ """
400
+ The zero-based start index of the half-open span of Unicode code points in the
401
+ input text.
402
+ """
339
403
 
340
404
 
341
405
  class ResultDocumentIDNumber(BaseModel):
@@ -368,8 +432,16 @@ class ResultDocumentJunk(BaseModel):
368
432
  """
369
433
 
370
434
  end: int
435
+ """
436
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
437
+ Unicode code points in the input text.
438
+ """
371
439
 
372
440
  start: int
441
+ """
442
+ The zero-based start index of the half-open span of Unicode code points in the
443
+ input text.
444
+ """
373
445
 
374
446
 
375
447
  class ResultDocumentLocationMention(BaseModel):
@@ -383,16 +455,32 @@ class ResultDocumentLocationMention(BaseModel):
383
455
  """
384
456
 
385
457
  end: int
458
+ """
459
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
460
+ Unicode code points in the input text.
461
+ """
386
462
 
387
463
  start: int
464
+ """
465
+ The zero-based start index of the half-open span of Unicode code points in the
466
+ input text.
467
+ """
388
468
 
389
469
 
390
470
  class ResultDocumentLocationName(BaseModel):
391
471
  """The span of the segment within the document's text."""
392
472
 
393
473
  end: int
474
+ """
475
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
476
+ Unicode code points in the input text.
477
+ """
394
478
 
395
479
  start: int
480
+ """
481
+ The zero-based start index of the half-open span of Unicode code points in the
482
+ input text.
483
+ """
396
484
 
397
485
 
398
486
  class ResultDocumentLocation(BaseModel):
@@ -437,16 +525,32 @@ class ResultDocumentPersonMention(BaseModel):
437
525
  """
438
526
 
439
527
  end: int
528
+ """
529
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
530
+ Unicode code points in the input text.
531
+ """
440
532
 
441
533
  start: int
534
+ """
535
+ The zero-based start index of the half-open span of Unicode code points in the
536
+ input text.
537
+ """
442
538
 
443
539
 
444
540
  class ResultDocumentPersonName(BaseModel):
445
541
  """The span of the segment within the document's text."""
446
542
 
447
543
  end: int
544
+ """
545
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
546
+ Unicode code points in the input text.
547
+ """
448
548
 
449
549
  start: int
550
+ """
551
+ The zero-based start index of the half-open span of Unicode code points in the
552
+ input text.
553
+ """
450
554
 
451
555
 
452
556
  class ResultDocumentPerson(BaseModel):
@@ -633,8 +737,16 @@ class ResultDocumentPhoneNumberMention(BaseModel):
633
737
  """
634
738
 
635
739
  end: int
740
+ """
741
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
742
+ Unicode code points in the input text.
743
+ """
636
744
 
637
745
  start: int
746
+ """
747
+ The zero-based start index of the half-open span of Unicode code points in the
748
+ input text.
749
+ """
638
750
 
639
751
 
640
752
  class ResultDocumentPhoneNumber(BaseModel):
@@ -663,8 +775,16 @@ class ResultDocumentQuoteSpan(BaseModel):
663
775
  """The span of the segment within the document's text."""
664
776
 
665
777
  end: int
778
+ """
779
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
780
+ Unicode code points in the input text.
781
+ """
666
782
 
667
783
  start: int
784
+ """
785
+ The zero-based start index of the half-open span of Unicode code points in the
786
+ input text.
787
+ """
668
788
 
669
789
 
670
790
  class ResultDocumentQuote(BaseModel):
@@ -709,16 +829,32 @@ class ResultDocumentSegmentCode(BaseModel):
709
829
  """
710
830
 
711
831
  end: int
832
+ """
833
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
834
+ Unicode code points in the input text.
835
+ """
712
836
 
713
837
  start: int
838
+ """
839
+ The zero-based start index of the half-open span of Unicode code points in the
840
+ input text.
841
+ """
714
842
 
715
843
 
716
844
  class ResultDocumentSegmentSpan(BaseModel):
717
845
  """The span of the segment within the document's text."""
718
846
 
719
847
  end: int
848
+ """
849
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
850
+ Unicode code points in the input text.
851
+ """
720
852
 
721
853
  start: int
854
+ """
855
+ The zero-based start index of the half-open span of Unicode code points in the
856
+ input text.
857
+ """
722
858
 
723
859
 
724
860
  class ResultDocumentSegmentTitle(BaseModel):
@@ -732,8 +868,16 @@ class ResultDocumentSegmentTitle(BaseModel):
732
868
  """
733
869
 
734
870
  end: int
871
+ """
872
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
873
+ Unicode code points in the input text.
874
+ """
735
875
 
736
876
  start: int
877
+ """
878
+ The zero-based start index of the half-open span of Unicode code points in the
879
+ input text.
880
+ """
737
881
 
738
882
 
739
883
  class ResultDocumentSegmentTypeName(BaseModel):
@@ -747,8 +891,16 @@ class ResultDocumentSegmentTypeName(BaseModel):
747
891
  """
748
892
 
749
893
  end: int
894
+ """
895
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
896
+ Unicode code points in the input text.
897
+ """
750
898
 
751
899
  start: int
900
+ """
901
+ The zero-based start index of the half-open span of Unicode code points in the
902
+ input text.
903
+ """
752
904
 
753
905
 
754
906
  class ResultDocumentSegment(BaseModel):
@@ -945,16 +1097,32 @@ class ResultDocumentSubtitle(BaseModel):
945
1097
  """
946
1098
 
947
1099
  end: int
1100
+ """
1101
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
1102
+ Unicode code points in the input text.
1103
+ """
948
1104
 
949
1105
  start: int
1106
+ """
1107
+ The zero-based start index of the half-open span of Unicode code points in the
1108
+ input text.
1109
+ """
950
1110
 
951
1111
 
952
1112
  class ResultDocumentTermMeaning(BaseModel):
953
1113
  """The span of the segment within the document's text."""
954
1114
 
955
1115
  end: int
1116
+ """
1117
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
1118
+ Unicode code points in the input text.
1119
+ """
956
1120
 
957
1121
  start: int
1122
+ """
1123
+ The zero-based start index of the half-open span of Unicode code points in the
1124
+ input text.
1125
+ """
958
1126
 
959
1127
 
960
1128
  class ResultDocumentTermMention(BaseModel):
@@ -968,16 +1136,32 @@ class ResultDocumentTermMention(BaseModel):
968
1136
  """
969
1137
 
970
1138
  end: int
1139
+ """
1140
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
1141
+ Unicode code points in the input text.
1142
+ """
971
1143
 
972
1144
  start: int
1145
+ """
1146
+ The zero-based start index of the half-open span of Unicode code points in the
1147
+ input text.
1148
+ """
973
1149
 
974
1150
 
975
1151
  class ResultDocumentTermName(BaseModel):
976
1152
  """The span of the segment within the document's text."""
977
1153
 
978
1154
  end: int
1155
+ """
1156
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
1157
+ Unicode code points in the input text.
1158
+ """
979
1159
 
980
1160
  start: int
1161
+ """
1162
+ The zero-based start index of the half-open span of Unicode code points in the
1163
+ input text.
1164
+ """
981
1165
 
982
1166
 
983
1167
  class ResultDocumentTerm(BaseModel):
@@ -1016,8 +1200,16 @@ class ResultDocumentTitle(BaseModel):
1016
1200
  """
1017
1201
 
1018
1202
  end: int
1203
+ """
1204
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
1205
+ Unicode code points in the input text.
1206
+ """
1019
1207
 
1020
1208
  start: int
1209
+ """
1210
+ The zero-based start index of the half-open span of Unicode code points in the
1211
+ input text.
1212
+ """
1021
1213
 
1022
1214
 
1023
1215
  class ResultDocumentWebsiteMention(BaseModel):
@@ -1031,8 +1223,16 @@ class ResultDocumentWebsiteMention(BaseModel):
1031
1223
  """
1032
1224
 
1033
1225
  end: int
1226
+ """
1227
+ The zero-based end index of the half-open span (i.e., the end is exclusive) of
1228
+ Unicode code points in the input text.
1229
+ """
1034
1230
 
1035
1231
  start: int
1232
+ """
1233
+ The zero-based start index of the half-open span of Unicode code points in the
1234
+ input text.
1235
+ """
1036
1236
 
1037
1237
 
1038
1238
  class ResultDocumentWebsite(BaseModel):
@@ -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-preview",
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-preview",
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-preview",
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-preview",
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-preview",
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-preview",
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-preview",
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-preview",
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
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.10.0"
3
- }
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