Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
chore: add missing titles
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Mar 13, 2024
1 parent fbf13eb commit 535b6f3
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 1 deletion.
20 changes: 20 additions & 0 deletions pkg/huggingface/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"label",
"score"
],
"title": "Class",
"type": "object"
},
"title": "Classes",
Expand Down Expand Up @@ -339,6 +340,7 @@
"instillUIOrder": 0,
"instillFormat": "array:string",
"items": {
"title": "Generated Response",
"instillFormat": "string",
"instillUIMultiline": true,
"type": "string"
Expand All @@ -353,6 +355,7 @@
"items": {
"instillFormat": "string",
"instillUIMultiline": true,
"title": "Past User Input",
"type": "string"
},
"title": "Past User Inputs",
Expand Down Expand Up @@ -446,6 +449,7 @@
"type": "string"
}
},
"title": "Result",
"required": [],
"type": "object"
},
Expand Down Expand Up @@ -516,6 +520,7 @@
"label",
"score"
],
"title": "Class",
"type": "object"
},
"title": "Classes",
Expand Down Expand Up @@ -593,6 +598,7 @@
"mask",
"score"
],
"title": "Segment",
"type": "object"
},
"title": "Segments",
Expand Down Expand Up @@ -749,6 +755,7 @@
"label",
"score"
],
"title": "Object",
"type": "object"
},
"title": "Objects",
Expand Down Expand Up @@ -939,6 +946,8 @@
"instillFormat": "array:number",
"items": {
"instillFormat": "number",
"description": "The associated similarity score for of the given string",
"title": "Score",
"type": "number"
},
"title": "Scores",
Expand Down Expand Up @@ -1240,8 +1249,10 @@
"instillUIOrder": 2,
"instillFormat": "array:string",
"items": {
"description": "coordinate of the cell content",
"instillFormat": "string",
"instillUIMultiline": true,
"title": "Cell",
"type": "string"
},
"title": "Cells",
Expand All @@ -1253,6 +1264,8 @@
"items": {
"items": {
"instillFormat": "integer",
"description": "coordinate of the cell referenced in the answer",
"title": "Coordinate",
"type": "integer"
},
"instillFormat": "array:integer",
Expand Down Expand Up @@ -1321,6 +1334,7 @@
"label",
"score"
],
"title": "Result",
"type": "object"
},
"title": "Results",
Expand Down Expand Up @@ -1725,6 +1739,7 @@
}
},
"required": [],
"title": "Result",
"type": "object"
},
"title": "Results",
Expand Down Expand Up @@ -1811,6 +1826,7 @@
"reference"
],
"items": {
"description": "a string that are potential class for inputs.",
"title": "candidate_label",
"type": "string"
},
Expand Down Expand Up @@ -1854,6 +1870,8 @@
"instillFormat": "array:string",
"items": {
"instillFormat": "string",
"description": "The string for label that you sent (in order)",
"title": "Label",
"type": "string"
},
"title": "Labels",
Expand All @@ -1864,7 +1882,9 @@
"instillUIOrder": 0,
"instillFormat": "array:number",
"items": {
"description": "float that correspond the the probability of label.",
"instillFormat": "number",
"title": "Score",
"type": "number"
},
"title": "Scores",
Expand Down
2 changes: 2 additions & 0 deletions pkg/instill/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
"instillFormat": "array:image/jpeg",
"items": {
"instillFormat": "image/jpeg",
"title": "Image",
"type": "string"
},
"title": "Images",
Expand Down Expand Up @@ -603,6 +604,7 @@
"instillFormat": "array:image/jpeg",
"items": {
"instillFormat": "image/jpeg",
"title": "Image",
"type": "string"
},
"title": "Images",
Expand Down
1 change: 1 addition & 0 deletions pkg/numbers/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
"items": {
"instillEnableCopyButton": true,
"instillFormat": "string",
"title": "Asset Url",
"type": "string"
},
"title": "Asset Urls",
Expand Down
2 changes: 2 additions & 0 deletions pkg/openai/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@
"items": {
"instillFormat": "string",
"instillUIMultiline": true,
"title": "Text",
"type": "string"
},
"title": "Texts",
Expand Down Expand Up @@ -521,6 +522,7 @@
"image",
"revised_prompt"
],
"title": "Image",
"type": "object"
},
"title": "Images",
Expand Down
1 change: 1 addition & 0 deletions pkg/pinecone/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
"items": {
"description": "Each float value represents one dimension",
"type": "number",
"title": "Value",
"instillFormat": "number"
},
"title": "Values",
Expand Down
2 changes: 2 additions & 0 deletions pkg/stabilityai/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@
"instillFormat": "array:image/png",
"items": {
"instillFormat": "image/png",
"title": "Image",
"type": "string"
},
"title": "Images",
Expand All @@ -452,6 +453,7 @@
"instillFormat": "array:number",
"items": {
"$ref": "stabilityai.json#/components/schemas/Image/properties/seed",
"title": "Seed",
"instillFormat": "number"
},
"title": "Seeds",
Expand Down
3 changes: 2 additions & 1 deletion pkg/website/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@
"description": "The scraped webpages",
"instillUIOrder": 0,
"items": {
"$ref": "#/$defs/page_info"
"$ref": "#/$defs/page_info",
"title": "Page"
},
"title": "Pages",
"type": "array"
Expand Down

0 comments on commit 535b6f3

Please sign in to comment.