File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -560,6 +560,12 @@ components:
560560 instance : null
561561 UniversalClassificationChunk :
562562 properties :
563+ index :
564+ type : integer
565+ exclusiveMinimum : -1.0
566+ description : The index of the chunk in the list of chunks.
567+ examples :
568+ - 0
563569 start :
564570 type : integer
565571 exclusiveMinimum : -1.0
@@ -594,12 +600,14 @@ components:
594600 type : object
595601 required :
596602 - end
603+ - index
597604 - score
598605 - start
599606 - text
600607 title : Universal classification chunk
601608 examples :
602- - start : 0
609+ - index : 0
610+ start : 0
603611 end : 46
604612 score : 0.7481262778280844
605613 text : I agree not to tell anyone about the document.
@@ -726,12 +734,14 @@ components:
726734 type : array
727735 - type : ' null'
728736 description : ' The text as broken into chunks by [semchunk](https://github.com/isaacus-dev/semchunk),
729- each chunk with its own confidence score.
737+ each chunk with its own confidence score, ordered from highest to lowest
738+ score.
730739
731740
732741 If no chunking occurred, this will be `null`.'
733742 examples :
734- - - start : 0
743+ - - index : 0
744+ start : 0
735745 end : 46
736746 score : 0.7481262778280844
737747 text : I agree not to tell anyone about the document.
@@ -748,7 +758,8 @@ components:
748758 usage :
749759 input_tokens : 19
750760 chunks :
751- - start : 0
761+ - index : 0
762+ start : 0
752763 end : 46
753764 score : 0.7481262778280844
754765 text : I agree not to tell anyone about the document.
You can’t perform that action at this time.
0 commit comments