Skip to content

Commit c1d9246

Browse files
feat(api)!: changed how end offsets are computed
1 parent 4e9c114 commit c1d9246

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 2
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-213d554b23f35e746460af23dd32bdde471230549ad223518c86d42ea917a180.yml
3-
openapi_spec_hash: 3672281fe031a42fc59e3a2af758a8f8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-f1ac3a46ba560544c348931204998163a9c5e35c40d6096f4b078e38c2714756.yml
3+
openapi_spec_hash: c9ba9f53c0dabdb703461d772020952f
44
config_hash: 1d15d860383a3f6da1ac388297687cc9

src/resources/classifications/universal.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ export namespace UniversalClassification {
6161
export namespace Classification {
6262
export interface Chunk {
6363
/**
64-
* The index of the character in the original text where the chunk ends, beginning
65-
* from `0` (such that, in Python, the chunk is equivalent to `text[start:end+1]`).
64+
* The index of the character immediately after the last character of the chunk in
65+
* the original text, beginning from `0` (such that, in Python, the chunk is
66+
* equivalent to `text[start:end]`).
6667
*/
6768
end: number;
6869

0 commit comments

Comments
 (0)