Skip to content

Commit 3ad5cee

Browse files
committed
feat(api): reordered the fields of UniversalClassificationResponse to have chunks above usage
1 parent c46e428 commit 3ad5cee

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

openapi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,6 @@ components:
725725
the query.'
726726
examples:
727727
- 0.7481262778280844
728-
usage:
729-
$ref: '#/components/schemas/UniversalClassificationUsage'
730728
chunks:
731729
oneOf:
732730
- items:
@@ -745,6 +743,8 @@ components:
745743
end: 46
746744
score: 0.7481262778280844
747745
text: I agree not to tell anyone about the document.
746+
usage:
747+
$ref: '#/components/schemas/UniversalClassificationUsage'
748748
type: object
749749
required:
750750
- chunks
@@ -755,14 +755,14 @@ components:
755755
produced by an Isaacus universal legal AI classifier.
756756
examples:
757757
- score: 0.7481262778280844
758-
usage:
759-
input_tokens: 19
760758
chunks:
761759
- index: 0
762760
start: 0
763761
end: 46
764762
score: 0.7481262778280844
765763
text: I agree not to tell anyone about the document.
764+
usage:
765+
input_tokens: 19
766766
UniversalClassificationUsage:
767767
properties:
768768
input_tokens:

0 commit comments

Comments
 (0)