Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

feat: add task title and description #55

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
code.sajari.com/docconv v1.3.8
github.com/fogleman/gg v1.3.0
github.com/gofrs/uuid v4.4.0+incompatible
github.com/instill-ai/component v0.9.0-beta
github.com/instill-ai/component v0.9.0-beta.0.20240127101208-0878f99479f2
github.com/pkoukk/tiktoken-go v0.1.6
github.com/stretchr/testify v1.8.2
go.uber.org/zap v1.26.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.2 h1:I/pwhnUln5wbMnTyRbzswA0/JxpK8sZj0aUfI3TV1So=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.2/go.mod h1:lsuH8kb4GlMdSlI4alNIBBSAt5CHJtg3i+0WuN9J5YM=
github.com/instill-ai/component v0.9.0-beta h1:4H3FpbV+OqnbUKGMo7KM86L7fWpb9D7Ze68oUH0OtHY=
github.com/instill-ai/component v0.9.0-beta/go.mod h1:fWyVPJVJ4WyFSQMgWCc7KvcS7m9QpdS3VXCL2CZE8OY=
github.com/instill-ai/component v0.9.0-beta.0.20240127101208-0878f99479f2 h1:GBMRpMMH6kyhGRTl9EZ4qB8Ctq9eyzfbFgfzGO2J/ik=
github.com/instill-ai/component v0.9.0-beta.0.20240127101208-0878f99479f2/go.mod h1:Vx/D38SiH2gukPSI6FCr6wnhofPSapL0V3uxDHbUyi8=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e h1:n9hR63xsrYQ104bj397LwYr3hpu51nAJRYQLdy/S/I0=
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20231205045546-99b6fc00f67e/go.mod h1:q/YL5TZXD9nvmJ7Rih4gY3/B2HT2+GiFdxeZp9D+yE4=
github.com/jaytaylor/html2text v0.0.0-20180606194806-57d518f124b0/go.mod h1:CVKlgaMiht+LXvHG173ujK6JUhZXKb2u/BQtjPDIvyk=
Expand Down
2 changes: 2 additions & 0 deletions pkg/base64/config/tasks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"TASK_DECODE": {
"instillShortDescription": "Decode the base64 string.",
"input": {
"description": "Input",
"instillEditOnNodeFields": [
Expand Down Expand Up @@ -52,6 +53,7 @@
}
},
"TASK_ENCODE": {
"instillShortDescription": "Encode data into base64 string",
"input": {
"description": "Input",
"instillEditOnNodeFields": [
Expand Down
6 changes: 6 additions & 0 deletions pkg/image/config/tasks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"TASK_DRAW_CLASSIFICATION": {
"instillShortDescription": "Draw classification result on the image.",
"input": {
"description": "Input",
"instillUIOrder": 0,
Expand Down Expand Up @@ -83,6 +84,7 @@
}
},
"TASK_DRAW_DETECTION": {
"instillShortDescription": "Draw detection result on the image.",
"input": {
"description": "Input",
"instillUIOrder": 0,
Expand Down Expand Up @@ -152,6 +154,7 @@
}
},
"TASK_DRAW_INSTANCE_SEGMENTATION": {
"instillShortDescription": "Draw instance segmentation result on the image.",
"input": {
"description": "Input",
"instillUIOrder": 0,
Expand Down Expand Up @@ -221,6 +224,7 @@
}
},
"TASK_DRAW_KEYPOINT": {
"instillShortDescription": "Draw keypoint result on the image.",
"input": {
"description": "Input",
"instillUIOrder": 0,
Expand Down Expand Up @@ -290,6 +294,7 @@
}
},
"TASK_DRAW_OCR": {
"instillShortDescription": "Draw OCR result on the image.",
"input": {
"description": "Input",
"instillUIOrder": 0,
Expand Down Expand Up @@ -359,6 +364,7 @@
}
},
"TASK_DRAW_SEMANTIC_SEGMENTATION": {
"instillShortDescription": "Draw semantic segmentation result on the image.",
"input": {
"description": "Input",
"instillUIOrder": 0,
Expand Down
2 changes: 2 additions & 0 deletions pkg/json/config/tasks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"TASK_MARSHAL": {
"instillShortDescription": "Marshal the JSON object into string.",
"input": {
"description": "Input",
"instillEditOnNodeFields": [
Expand Down Expand Up @@ -54,6 +55,7 @@
}
},
"TASK_UNMARSHAL": {
"instillShortDescription": "Unmarshal the JSON object from string.",
"input": {
"description": "Input",
"instillEditOnNodeFields": [
Expand Down
2 changes: 2 additions & 0 deletions pkg/text/config/tasks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"TASK_CONVERT_TO_TEXT": {
"instillShortDescription": "Convert document to text.",
"input": {
"description": "Input",
"instillEditOnNodeFields": [
Expand Down Expand Up @@ -74,6 +75,7 @@
}
},
"TASK_SPLIT_BY_TOKEN": {
"instillShortDescription": "Split text by token.",
"input": {
"description": "Input",
"instillEditOnNodeFields": [
Expand Down
Loading