Skip to content

Commit c1151c0

Browse files
committed
Explicit titles
1 parent 2d46399 commit c1151c0

File tree

52 files changed

+52
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+52
-0
lines changed

packages/tasks/src/tasks/audio-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/audio-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Audio Classification inference",
5+
"title": "AudioClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/automatic-speech-recognition/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/automatic-speech-recognition/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Automatic Speech Recognition inference",
5+
"title": "AutomaticSpeechRecognitionInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/automatic-speech-recognition/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/automatic-speech-recognition/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Automatic Speech Recognition task",
5+
"title": "AutomaticSpeechRecognitionOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/depth-estimation/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/depth-estimation/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Depth Estimation inference",
5+
"title": "DepthEstimationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/depth-estimation/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/depth-estimation/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Depth Estimation task",
5+
"title": "DepthEstimationOutput",
56
"type": "array",
67
"items": {
78
"description": "The output depth labels"

packages/tasks/src/tasks/document-question-answering/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/document-question-answering/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Document Question Answering inference",
5+
"title": "DocumentQuestionAnsweringInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/document-question-answering/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/document-question-answering/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Document Question Answering task",
5+
"title": "DocumentQuestionAnsweringOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/feature-extraction/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/feature-extraction/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Text Embedding inference",
5+
"title": "FeatureExtractionInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/fill-mask/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/fill-mask/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Fill Mask inference",
5+
"title": "FillMaskInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/fill-mask/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/fill-mask/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Fill Mask task",
5+
"title": "FillMaskOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/image-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Image Classification inference",
5+
"title": "ImageClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/image-classification/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-classification/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Image Classification task",
5+
"title": "ImageClassificationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/image-segmentation/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-segmentation/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Image Segmentation inference",
5+
"title": "ImageSegmentationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/image-segmentation/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-segmentation/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Image Segmentation task",
5+
"title": "ImageSegmentationOutput",
56
"type": "array",
67
"items": {
78
"description": "A predicted mask / segment",

packages/tasks/src/tasks/image-to-image/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-to-image/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Image To Image inference",
5+
"title": "ImageToImageInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/image-to-image/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-to-image/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Image To Image task",
5+
"title": "ImageToImageOutput",
56
"type": "array",
67
"items": {
78
"description": "The output image"

packages/tasks/src/tasks/image-to-text/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-to-text/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Image To Text inference",
5+
"title": "ImageToTextInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/image-to-text/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/image-to-text/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Image To Text task",
5+
"title": "ImageToTextOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/object-detection/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/object-detection/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Object Detection inference",
5+
"title": "ObjectDetectionInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/object-detection/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/object-detection/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Object Detection task",
5+
"title": "ObjectDetectionOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/placeholder/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/<TASK_ID>/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for <TASK_ID> inference",
5+
"title": "PlaceholderInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/placeholder/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/<TASK_ID>/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs for <TASK_ID> inference",
5+
"title": "PlaceholderOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/question-answering/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/question-answering/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Question Answering inference",
5+
"title": "QuestionAnsweringInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/sentence-similarity/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/sentence-similarity/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Sentence similarity inference",
5+
"title": "SentenceSimilarityInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/summarization/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"$ref": "/inference/schemas/text2text-generation/input.json",
33
"$id": "/inference/schemas/summarization/input.json",
44
"$schema": "http://json-schema.org/draft-06/schema#",
5+
"title": "SummarizationInput",
56
"description": "Inputs for Summarization inference"
67
}

packages/tasks/src/tasks/summarization/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"$ref": "/inference/schemas/text2text-generation/output.json",
33
"$id": "/inference/schemas/summarization/output.json",
44
"$schema": "http://json-schema.org/draft-06/schema#",
5+
"title": "SummarizationOutput",
56
"description": "Outputs for Summarization inference"
67
}

packages/tasks/src/tasks/table-question-answering/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/table-question-answering/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Table Question Answering inference",
5+
"title": "TableQuestionAnsweringInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/table-question-answering/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/table-question-answering/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Table Question Answering task",
5+
"title": "TableQuestionAnsweringOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/text-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Text Classification inference",
5+
"title": "TextClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/text-classification/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text-classification/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Text Classification task",
5+
"title": "TextClassificationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/text-generation/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text-generation/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Text Generation inference",
5+
"title": "TextGenerationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/text-generation/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text-generation/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs for Text Generation inference",
5+
"title": "TextGenerationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/text-to-audio/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text-to-audio/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Text To Audio inference",
5+
"title": "TextToAudioInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/text-to-audio/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text-to-audio/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Text To Audio task",
5+
"title": "TextToAudioOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/text-to-speech/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"$ref": "/inference/schemas/text-to-audio/input.json",
33
"$id": "/inference/schemas/text-to-speech/input.json",
44
"$schema": "http://json-schema.org/draft-06/schema#",
5+
"title": "TextToSpeechInput",
56
"description": "Inputs for Text to Speech inference"
67
}

packages/tasks/src/tasks/text-to-speech/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"$ref": "/inference/schemas/text-to-audio/output.json",
33
"$id": "/inference/schemas/text-to-speech/output.json",
44
"$schema": "http://json-schema.org/draft-06/schema#",
5+
"title": "TextToSpeechOutput",
56
"description": "Outputs for Text to Speech inference"
67
}

packages/tasks/src/tasks/text2text-generation/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text2text-generation/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Text2text Generation inference",
5+
"title": "Text2TextGenerationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/text2text-generation/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/text2text-generation/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Text2text Generation task",
5+
"title": "Text2TextGenerationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/token-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/token-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Token Classification inference",
5+
"title": "TokenClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/token-classification/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/token-classification/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Token Classification task",
5+
"title": "TokenClassificationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/translation/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"$ref": "/inference/schemas/text2text-generation/input.json",
33
"$id": "/inference/schemas/translation/input.json",
44
"$schema": "http://json-schema.org/draft-06/schema#",
5+
"title": "TranslationInput",
56
"description": "Inputs for Translation inference"
67
}

packages/tasks/src/tasks/translation/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"$ref": "/inference/schemas/text2text-generation/output.json",
33
"$id": "/inference/schemas/translation/output.json",
44
"$schema": "http://json-schema.org/draft-06/schema#",
5+
"title": "TranslationOutput",
56
"description": "Outputs for Translation inference"
67
}

packages/tasks/src/tasks/video-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/video-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Video Classification inference",
5+
"title": "VideoClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/video-classification/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/video-classification/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Video Classification task",
5+
"title": "VideoClassificationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/visual-question-answering/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/visual-question-answering/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Visual Question Answering inference",
5+
"title": "VisualQuestionAnsweringInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/visual-question-answering/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/visual-question-answering/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Visual Question Answering task",
5+
"title": "VisualQuestionAnsweringOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/zero-shot-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/zero-shot-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Zero Shot Classification inference",
5+
"title": "ZeroShotClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/zero-shot-classification/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/zero-shot-classification/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Zero Shot Classification task",
5+
"title": "ZeroShotClassificationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

packages/tasks/src/tasks/zero-shot-image-classification/spec/input.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/zero-shot-image-classification/input.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Inputs for Zero Shot Image Classification inference",
5+
"title": "ZeroShotImageClassificationInput",
56
"type": "object",
67
"properties": {
78
"data": {

packages/tasks/src/tasks/zero-shot-image-classification/spec/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$id": "/inference/schemas/zero-shot-image-classification/output.json",
33
"$schema": "http://json-schema.org/draft-06/schema#",
44
"description": "Outputs of inference for the Zero Shot Image Classification task",
5+
"title": "ZeroShotImageClassificationOutput",
56
"type": "array",
67
"items": {
78
"type": "object",

0 commit comments

Comments
 (0)