diff --git a/go.mod b/go.mod
index f908c3b..30cd32b 100644
--- a/go.mod
+++ b/go.mod
@@ -16,8 +16,8 @@ require (
github.com/gocolly/colly/v2 v2.1.0
github.com/gofrs/uuid v4.4.0+incompatible
github.com/h2non/filetype v1.1.3
- github.com/instill-ai/component v0.10.0-beta
- github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240105094938-3a71d8f7a812
+ github.com/instill-ai/component v0.10.0-beta.0.20240206082535-b067f9cbaa98
+ github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240206062817-a862071d8ece
github.com/instill-ai/x v0.3.0-alpha.0.20231219052200-6230a89e386c
github.com/redis/go-redis/v9 v9.3.0
go.uber.org/zap v1.26.0
diff --git a/go.sum b/go.sum
index 2da6498..d809242 100644
--- a/go.sum
+++ b/go.sum
@@ -145,10 +145,10 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.2 h1:I/pwhnUln5wbMnTyRbzswA0/JxpK
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.2/go.mod h1:lsuH8kb4GlMdSlI4alNIBBSAt5CHJtg3i+0WuN9J5YM=
github.com/h2non/filetype v1.1.3 h1:FKkx9QbD7HR/zjK1Ia5XiBsq9zdLi5Kf3zGyFTAFkGg=
github.com/h2non/filetype v1.1.3/go.mod h1:319b3zT68BvV+WRj7cwy856M2ehB3HqNOt6sy1HndBY=
-github.com/instill-ai/component v0.10.0-beta h1:cmYZnIqihVMF96lY2alAZEVjmDwBzw54fq8b2j0a4O4=
-github.com/instill-ai/component v0.10.0-beta/go.mod h1:Vx/D38SiH2gukPSI6FCr6wnhofPSapL0V3uxDHbUyi8=
-github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240105094938-3a71d8f7a812 h1:n1EQFT0NeXkmiCD/YtoLG+b/OPo2tNg7MVK0dHNFlvk=
-github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240105094938-3a71d8f7a812/go.mod h1:jhEL0SauySMoPLVvx105DWyThju9sYTbsXIySVCArmM=
+github.com/instill-ai/component v0.10.0-beta.0.20240206082535-b067f9cbaa98 h1:3B9NVpATwjMuOXA3YXDcofZXZscaezxZir4D1NbGQFw=
+github.com/instill-ai/component v0.10.0-beta.0.20240206082535-b067f9cbaa98/go.mod h1:THyROt2dqqge2lDc+PVzm/+LueG4dBtxpLzSjl+T83A=
+github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240206062817-a862071d8ece h1:Zs8zy+ZgLe8bWRh9E48JaPTB+iS2E7f27OiD0Jjjld8=
+github.com/instill-ai/protogen-go v0.3.3-alpha.0.20240206062817-a862071d8ece/go.mod h1:jhEL0SauySMoPLVvx105DWyThju9sYTbsXIySVCArmM=
github.com/instill-ai/x v0.3.0-alpha.0.20231219052200-6230a89e386c h1:a2RVkpIV2QcrGnSHAou+t/L+vBsaIfFvk5inVg5Uh4s=
github.com/instill-ai/x v0.3.0-alpha.0.20231219052200-6230a89e386c/go.mod h1:L6jmDPrUou6XskaLXZuK/gDeitdoPa9yE8ONKt1ZwCw=
github.com/jawher/mow.cli v1.1.0/go.mod h1:aNaQlc7ozF3vw6IJ2dHjp2ZFiA4ozMIYY6PyuRJwlUg=
diff --git a/pkg/airbyte/airbyte.go b/pkg/airbyte/v0/airbyte.go
similarity index 100%
rename from pkg/airbyte/airbyte.go
rename to pkg/airbyte/v0/airbyte.go
diff --git a/pkg/airbyte/config/definitions.json b/pkg/airbyte/v0/config/definitions.json
similarity index 99%
rename from pkg/airbyte/config/definitions.json
rename to pkg/airbyte/v0/config/definitions.json
index ae020b7..5ba6765 100644
--- a/pkg/airbyte/config/definitions.json
+++ b/pkg/airbyte/v0/config/definitions.json
@@ -729,7 +729,7 @@
},
"transformation_priority": {
"default": "interactive",
- "description": "Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type here. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don\u2019t count towards your concurrent rate limit. Read more about batch queries here. The default \"interactive\" value is used if not set explicitly.",
+ "description": "Interactive run type means that the query is executed as soon as possible, and these queries count towards concurrent rate limit and daily limit. Read more about interactive run type here. Batch queries are queued and started as soon as idle resources are available in the BigQuery shared resource pool, which usually occurs within a few minutes. Batch queries don’t count towards your concurrent rate limit. Read more about batch queries here. The default \"interactive\" value is used if not set explicitly.",
"enum": [
"interactive",
"batch"
@@ -3484,7 +3484,7 @@
"title": "HiveCatalog: Use Apache Hive MetaStore"
},
{
- "description": "A Hadoop catalog doesn\u2019t need to connect to a Hive MetaStore, but can only be used with HDFS or similar file systems that support atomic rename.",
+ "description": "A Hadoop catalog doesn’t need to connect to a Hive MetaStore, but can only be used with HDFS or similar file systems that support atomic rename.",
"properties": {
"catalog_type": {
"default": "Hadoop",
@@ -4203,7 +4203,7 @@
"endpoint": {
"description": "AWS Kinesis endpoint.",
"examples": [
- "kinesis.us\u2011west\u20111.amazonaws.com"
+ "kinesis.us‑west‑1.amazonaws.com"
],
"order": 0,
"title": "Endpoint",
@@ -4219,7 +4219,7 @@
"region": {
"description": "AWS region. Your account determines the Regions that are available to you.",
"examples": [
- "us\u2011west\u20111"
+ "us‑west‑1"
],
"order": 1,
"title": "Region",
@@ -11926,6 +11926,8 @@
"airbyte-destination-xata": "airbyte/destination-xata:0.1.1",
"airbyte-destination-yugabytedb": "airbyte/destination-yugabytedb:0.1.1",
"airbyte-devmate-cloud": "ghcr.io/devmate-cloud/streamr-airbyte-connectors:0.0.1"
- }
+ },
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/airbyte/v0"
}
]
diff --git a/pkg/airbyte/config/seed/generate_definitions.py b/pkg/airbyte/v0/config/seed/generate_definitions.py
similarity index 100%
rename from pkg/airbyte/config/seed/generate_definitions.py
rename to pkg/airbyte/v0/config/seed/generate_definitions.py
diff --git a/pkg/airbyte/config/tasks.json b/pkg/airbyte/v0/config/tasks.json
similarity index 100%
rename from pkg/airbyte/config/tasks.json
rename to pkg/airbyte/v0/config/tasks.json
diff --git a/pkg/airbyte/main.go b/pkg/airbyte/v0/main.go
similarity index 100%
rename from pkg/airbyte/main.go
rename to pkg/airbyte/v0/main.go
diff --git a/pkg/archetypeai/client.go b/pkg/archetypeai/v0/client.go
similarity index 100%
rename from pkg/archetypeai/client.go
rename to pkg/archetypeai/v0/client.go
diff --git a/pkg/archetypeai/config/definitions.json b/pkg/archetypeai/v0/config/definitions.json
similarity index 87%
rename from pkg/archetypeai/config/definitions.json
rename to pkg/archetypeai/v0/config/definitions.json
index baedfdb..1c553a8 100644
--- a/pkg/archetypeai/config/definitions.json
+++ b/pkg/archetypeai/v0/config/definitions.json
@@ -36,6 +36,8 @@
"type": "CONNECTOR_TYPE_AI",
"uid": "e414a1f8-5fdf-4292-b050-9f9176254a4b",
"vendor": "Archetype AI",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/archetypeai/v0"
}
]
diff --git a/pkg/archetypeai/config/tasks.json b/pkg/archetypeai/v0/config/tasks.json
similarity index 100%
rename from pkg/archetypeai/config/tasks.json
rename to pkg/archetypeai/v0/config/tasks.json
diff --git a/pkg/archetypeai/connector_test.go b/pkg/archetypeai/v0/connector_test.go
similarity index 100%
rename from pkg/archetypeai/connector_test.go
rename to pkg/archetypeai/v0/connector_test.go
diff --git a/pkg/archetypeai/main.go b/pkg/archetypeai/v0/main.go
similarity index 100%
rename from pkg/archetypeai/main.go
rename to pkg/archetypeai/v0/main.go
diff --git a/pkg/archetypeai/structs.go b/pkg/archetypeai/v0/structs.go
similarity index 100%
rename from pkg/archetypeai/structs.go
rename to pkg/archetypeai/v0/structs.go
diff --git a/pkg/bigquery/config/definitions.json b/pkg/bigquery/v0/config/definitions.json
similarity index 92%
rename from pkg/bigquery/config/definitions.json
rename to pkg/bigquery/v0/config/definitions.json
index d7b4ce5..8ece819 100644
--- a/pkg/bigquery/config/definitions.json
+++ b/pkg/bigquery/v0/config/definitions.json
@@ -56,6 +56,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "e2ffe076-ab2c-4e5e-9587-a613a6b1c146",
"vendor": "Google",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/bigquery/v0"
}
]
diff --git a/pkg/bigquery/config/tasks.json b/pkg/bigquery/v0/config/tasks.json
similarity index 100%
rename from pkg/bigquery/config/tasks.json
rename to pkg/bigquery/v0/config/tasks.json
diff --git a/pkg/bigquery/insert.go b/pkg/bigquery/v0/insert.go
similarity index 100%
rename from pkg/bigquery/insert.go
rename to pkg/bigquery/v0/insert.go
diff --git a/pkg/bigquery/main.go b/pkg/bigquery/v0/main.go
similarity index 100%
rename from pkg/bigquery/main.go
rename to pkg/bigquery/v0/main.go
diff --git a/pkg/googlecloudstorage/config/definitions.json b/pkg/googlecloudstorage/v0/config/definitions.json
similarity index 90%
rename from pkg/googlecloudstorage/config/definitions.json
rename to pkg/googlecloudstorage/v0/config/definitions.json
index d7e11b6..ccd56cf 100644
--- a/pkg/googlecloudstorage/config/definitions.json
+++ b/pkg/googlecloudstorage/v0/config/definitions.json
@@ -43,6 +43,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "205cbeff-6f45-4abe-b0a8-cec1a310137f",
"vendor": "Google",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/googlecloudstorage/v0"
}
]
diff --git a/pkg/googlecloudstorage/config/tasks.json b/pkg/googlecloudstorage/v0/config/tasks.json
similarity index 100%
rename from pkg/googlecloudstorage/config/tasks.json
rename to pkg/googlecloudstorage/v0/config/tasks.json
diff --git a/pkg/googlecloudstorage/main.go b/pkg/googlecloudstorage/v0/main.go
similarity index 100%
rename from pkg/googlecloudstorage/main.go
rename to pkg/googlecloudstorage/v0/main.go
diff --git a/pkg/googlecloudstorage/upload.go b/pkg/googlecloudstorage/v0/upload.go
similarity index 100%
rename from pkg/googlecloudstorage/upload.go
rename to pkg/googlecloudstorage/v0/upload.go
diff --git a/pkg/googlesearch/config/definitions.json b/pkg/googlesearch/v0/config/definitions.json
similarity index 92%
rename from pkg/googlesearch/config/definitions.json
rename to pkg/googlesearch/v0/config/definitions.json
index dd727c4..c6f48db 100644
--- a/pkg/googlesearch/config/definitions.json
+++ b/pkg/googlesearch/v0/config/definitions.json
@@ -42,6 +42,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "2b1da686-878a-462c-b2c6-a9690199939c",
"vendor": "Google",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/googlesearch/v0"
}
]
diff --git a/pkg/googlesearch/config/tasks.json b/pkg/googlesearch/v0/config/tasks.json
similarity index 100%
rename from pkg/googlesearch/config/tasks.json
rename to pkg/googlesearch/v0/config/tasks.json
diff --git a/pkg/googlesearch/main.go b/pkg/googlesearch/v0/main.go
similarity index 100%
rename from pkg/googlesearch/main.go
rename to pkg/googlesearch/v0/main.go
diff --git a/pkg/googlesearch/search.go b/pkg/googlesearch/v0/search.go
similarity index 100%
rename from pkg/googlesearch/search.go
rename to pkg/googlesearch/v0/search.go
diff --git a/pkg/huggingface/client.go b/pkg/huggingface/v0/client.go
similarity index 100%
rename from pkg/huggingface/client.go
rename to pkg/huggingface/v0/client.go
diff --git a/pkg/huggingface/config/definitions.json b/pkg/huggingface/v0/config/definitions.json
similarity index 94%
rename from pkg/huggingface/config/definitions.json
rename to pkg/huggingface/v0/config/definitions.json
index bc2664e..d8bddf5 100644
--- a/pkg/huggingface/config/definitions.json
+++ b/pkg/huggingface/v0/config/definitions.json
@@ -68,6 +68,8 @@
"type": "CONNECTOR_TYPE_AI",
"uid": "0255ef87-33ce-4f88-b9db-8897f8c17233",
"vendor": "Hugging Face",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/huggingface/v0"
}
]
diff --git a/pkg/huggingface/config/tasks.json b/pkg/huggingface/v0/config/tasks.json
similarity index 100%
rename from pkg/huggingface/config/tasks.json
rename to pkg/huggingface/v0/config/tasks.json
diff --git a/pkg/huggingface/connector_test.go b/pkg/huggingface/v0/connector_test.go
similarity index 100%
rename from pkg/huggingface/connector_test.go
rename to pkg/huggingface/v0/connector_test.go
diff --git a/pkg/huggingface/main.go b/pkg/huggingface/v0/main.go
similarity index 100%
rename from pkg/huggingface/main.go
rename to pkg/huggingface/v0/main.go
diff --git a/pkg/huggingface/structs.go b/pkg/huggingface/v0/structs.go
similarity index 100%
rename from pkg/huggingface/structs.go
rename to pkg/huggingface/v0/structs.go
diff --git a/pkg/instill/client.go b/pkg/instill/v0/client.go
similarity index 100%
rename from pkg/instill/client.go
rename to pkg/instill/v0/client.go
diff --git a/pkg/instill/config/definitions.json b/pkg/instill/v0/config/definitions.json
similarity index 94%
rename from pkg/instill/config/definitions.json
rename to pkg/instill/v0/config/definitions.json
index 861ae0e..fc251bb 100644
--- a/pkg/instill/config/definitions.json
+++ b/pkg/instill/v0/config/definitions.json
@@ -68,6 +68,8 @@
"type": "CONNECTOR_TYPE_AI",
"uid": "ddcf42c3-4c30-4c65-9585-25f1c89b2b48",
"vendor": "Instill",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/instill/v0"
}
]
diff --git a/pkg/instill/config/tasks.json b/pkg/instill/v0/config/tasks.json
similarity index 100%
rename from pkg/instill/config/tasks.json
rename to pkg/instill/v0/config/tasks.json
diff --git a/pkg/instill/image_classification.go b/pkg/instill/v0/image_classification.go
similarity index 100%
rename from pkg/instill/image_classification.go
rename to pkg/instill/v0/image_classification.go
diff --git a/pkg/instill/image_to_image.go b/pkg/instill/v0/image_to_image.go
similarity index 100%
rename from pkg/instill/image_to_image.go
rename to pkg/instill/v0/image_to_image.go
diff --git a/pkg/instill/instance_segmentation.go b/pkg/instill/v0/instance_segmentation.go
similarity index 100%
rename from pkg/instill/instance_segmentation.go
rename to pkg/instill/v0/instance_segmentation.go
diff --git a/pkg/instill/keypoint_detection.go b/pkg/instill/v0/keypoint_detection.go
similarity index 100%
rename from pkg/instill/keypoint_detection.go
rename to pkg/instill/v0/keypoint_detection.go
diff --git a/pkg/instill/llm_utils.go b/pkg/instill/v0/llm_utils.go
similarity index 100%
rename from pkg/instill/llm_utils.go
rename to pkg/instill/v0/llm_utils.go
diff --git a/pkg/instill/main.go b/pkg/instill/v0/main.go
similarity index 100%
rename from pkg/instill/main.go
rename to pkg/instill/v0/main.go
diff --git a/pkg/instill/object_detection.go b/pkg/instill/v0/object_detection.go
similarity index 100%
rename from pkg/instill/object_detection.go
rename to pkg/instill/v0/object_detection.go
diff --git a/pkg/instill/ocr.go b/pkg/instill/v0/ocr.go
similarity index 100%
rename from pkg/instill/ocr.go
rename to pkg/instill/v0/ocr.go
diff --git a/pkg/instill/semantic_segmentation.go b/pkg/instill/v0/semantic_segmentation.go
similarity index 100%
rename from pkg/instill/semantic_segmentation.go
rename to pkg/instill/v0/semantic_segmentation.go
diff --git a/pkg/instill/text_generation.go b/pkg/instill/v0/text_generation.go
similarity index 100%
rename from pkg/instill/text_generation.go
rename to pkg/instill/v0/text_generation.go
diff --git a/pkg/instill/text_generation_chat.go b/pkg/instill/v0/text_generation_chat.go
similarity index 100%
rename from pkg/instill/text_generation_chat.go
rename to pkg/instill/v0/text_generation_chat.go
diff --git a/pkg/instill/text_to_image.go b/pkg/instill/v0/text_to_image.go
similarity index 100%
rename from pkg/instill/text_to_image.go
rename to pkg/instill/v0/text_to_image.go
diff --git a/pkg/instill/unspecified.go b/pkg/instill/v0/unspecified.go
similarity index 100%
rename from pkg/instill/unspecified.go
rename to pkg/instill/v0/unspecified.go
diff --git a/pkg/instill/visual_question_answering.go b/pkg/instill/v0/visual_question_answering.go
similarity index 100%
rename from pkg/instill/visual_question_answering.go
rename to pkg/instill/v0/visual_question_answering.go
diff --git a/pkg/integration_test.go b/pkg/integration_test.go
index b168c4c..1945355 100644
--- a/pkg/integration_test.go
+++ b/pkg/integration_test.go
@@ -12,7 +12,7 @@ import (
"google.golang.org/protobuf/types/known/structpb"
"github.com/instill-ai/component/pkg/base"
- "github.com/instill-ai/connector/pkg/openai"
+ "github.com/instill-ai/connector/pkg/openai/v0"
"github.com/instill-ai/x/errmsg"
)
diff --git a/pkg/main.go b/pkg/main.go
index d7ccf8a..5daa547 100644
--- a/pkg/main.go
+++ b/pkg/main.go
@@ -8,20 +8,20 @@ import (
"google.golang.org/protobuf/types/known/structpb"
"github.com/instill-ai/component/pkg/base"
- "github.com/instill-ai/connector/pkg/airbyte"
- "github.com/instill-ai/connector/pkg/archetypeai"
- "github.com/instill-ai/connector/pkg/bigquery"
- "github.com/instill-ai/connector/pkg/googlecloudstorage"
- "github.com/instill-ai/connector/pkg/googlesearch"
- "github.com/instill-ai/connector/pkg/huggingface"
- "github.com/instill-ai/connector/pkg/instill"
- "github.com/instill-ai/connector/pkg/numbers"
- "github.com/instill-ai/connector/pkg/openai"
- "github.com/instill-ai/connector/pkg/pinecone"
- "github.com/instill-ai/connector/pkg/redis"
- "github.com/instill-ai/connector/pkg/restapi"
- "github.com/instill-ai/connector/pkg/stabilityai"
- "github.com/instill-ai/connector/pkg/website"
+ "github.com/instill-ai/connector/pkg/airbyte/v0"
+ "github.com/instill-ai/connector/pkg/archetypeai/v0"
+ "github.com/instill-ai/connector/pkg/bigquery/v0"
+ "github.com/instill-ai/connector/pkg/googlecloudstorage/v0"
+ "github.com/instill-ai/connector/pkg/googlesearch/v0"
+ "github.com/instill-ai/connector/pkg/huggingface/v0"
+ "github.com/instill-ai/connector/pkg/instill/v0"
+ "github.com/instill-ai/connector/pkg/numbers/v0"
+ "github.com/instill-ai/connector/pkg/openai/v0"
+ "github.com/instill-ai/connector/pkg/pinecone/v0"
+ "github.com/instill-ai/connector/pkg/redis/v0"
+ "github.com/instill-ai/connector/pkg/restapi/v0"
+ "github.com/instill-ai/connector/pkg/stabilityai/v0"
+ "github.com/instill-ai/connector/pkg/website/v0"
pipelinePB "github.com/instill-ai/protogen-go/vdp/pipeline/v1beta"
)
diff --git a/pkg/numbers/config/definitions.json b/pkg/numbers/v0/config/definitions.json
similarity index 89%
rename from pkg/numbers/config/definitions.json
rename to pkg/numbers/v0/config/definitions.json
index 2d3d63d..25922b5 100644
--- a/pkg/numbers/config/definitions.json
+++ b/pkg/numbers/v0/config/definitions.json
@@ -34,6 +34,8 @@
"type": "CONNECTOR_TYPE_BLOCKCHAIN",
"uid": "70d8664a-d512-4517-a5e8-5d4da81756a7",
"vendor": "Numbers Protocol",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/numbers/v0"
}
]
diff --git a/pkg/numbers/config/tasks.json b/pkg/numbers/v0/config/tasks.json
similarity index 100%
rename from pkg/numbers/config/tasks.json
rename to pkg/numbers/v0/config/tasks.json
diff --git a/pkg/numbers/main.go b/pkg/numbers/v0/main.go
similarity index 100%
rename from pkg/numbers/main.go
rename to pkg/numbers/v0/main.go
diff --git a/pkg/openai/audio_transcriptions.go b/pkg/openai/v0/audio_transcriptions.go
similarity index 100%
rename from pkg/openai/audio_transcriptions.go
rename to pkg/openai/v0/audio_transcriptions.go
diff --git a/pkg/openai/client.go b/pkg/openai/v0/client.go
similarity index 100%
rename from pkg/openai/client.go
rename to pkg/openai/v0/client.go
diff --git a/pkg/openai/config/definitions.json b/pkg/openai/v0/config/definitions.json
similarity index 91%
rename from pkg/openai/config/definitions.json
rename to pkg/openai/v0/config/definitions.json
index 46342e2..39d6724 100644
--- a/pkg/openai/config/definitions.json
+++ b/pkg/openai/v0/config/definitions.json
@@ -43,6 +43,8 @@
"type": "CONNECTOR_TYPE_AI",
"uid": "9fb6a2cb-bff5-4c69-bc6d-4538dd8e3362",
"vendor": "OpenAI",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/openai/v0"
}
]
diff --git a/pkg/openai/config/openai.json b/pkg/openai/v0/config/openai.json
similarity index 100%
rename from pkg/openai/config/openai.json
rename to pkg/openai/v0/config/openai.json
diff --git a/pkg/openai/config/tasks.json b/pkg/openai/v0/config/tasks.json
similarity index 100%
rename from pkg/openai/config/tasks.json
rename to pkg/openai/v0/config/tasks.json
diff --git a/pkg/openai/connector_test.go b/pkg/openai/v0/connector_test.go
similarity index 100%
rename from pkg/openai/connector_test.go
rename to pkg/openai/v0/connector_test.go
diff --git a/pkg/openai/list_models.go b/pkg/openai/v0/list_models.go
similarity index 100%
rename from pkg/openai/list_models.go
rename to pkg/openai/v0/list_models.go
diff --git a/pkg/openai/main.go b/pkg/openai/v0/main.go
similarity index 100%
rename from pkg/openai/main.go
rename to pkg/openai/v0/main.go
diff --git a/pkg/openai/text_embeddings.go b/pkg/openai/v0/text_embeddings.go
similarity index 100%
rename from pkg/openai/text_embeddings.go
rename to pkg/openai/v0/text_embeddings.go
diff --git a/pkg/openai/text_generation.go b/pkg/openai/v0/text_generation.go
similarity index 100%
rename from pkg/openai/text_generation.go
rename to pkg/openai/v0/text_generation.go
diff --git a/pkg/openai/text_to_image.go b/pkg/openai/v0/text_to_image.go
similarity index 100%
rename from pkg/openai/text_to_image.go
rename to pkg/openai/v0/text_to_image.go
diff --git a/pkg/openai/text_to_speech.go b/pkg/openai/v0/text_to_speech.go
similarity index 100%
rename from pkg/openai/text_to_speech.go
rename to pkg/openai/v0/text_to_speech.go
diff --git a/pkg/pinecone/config/definitions.json b/pkg/pinecone/v0/config/definitions.json
similarity index 91%
rename from pkg/pinecone/config/definitions.json
rename to pkg/pinecone/v0/config/definitions.json
index 11ac81e..4af5aca 100644
--- a/pkg/pinecone/config/definitions.json
+++ b/pkg/pinecone/v0/config/definitions.json
@@ -43,6 +43,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "4b1dcf82-e134-4ba7-992f-f9a02536ec2b",
"vendor": "Pinecone",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/pinecone/v0"
}
]
diff --git a/pkg/pinecone/config/tasks.json b/pkg/pinecone/v0/config/tasks.json
similarity index 100%
rename from pkg/pinecone/config/tasks.json
rename to pkg/pinecone/v0/config/tasks.json
diff --git a/pkg/pinecone/connector_test.go b/pkg/pinecone/v0/connector_test.go
similarity index 100%
rename from pkg/pinecone/connector_test.go
rename to pkg/pinecone/v0/connector_test.go
diff --git a/pkg/pinecone/main.go b/pkg/pinecone/v0/main.go
similarity index 100%
rename from pkg/pinecone/main.go
rename to pkg/pinecone/v0/main.go
diff --git a/pkg/pinecone/structs.go b/pkg/pinecone/v0/structs.go
similarity index 100%
rename from pkg/pinecone/structs.go
rename to pkg/pinecone/v0/structs.go
diff --git a/pkg/redis/chat_history.go b/pkg/redis/v0/chat_history.go
similarity index 100%
rename from pkg/redis/chat_history.go
rename to pkg/redis/v0/chat_history.go
diff --git a/pkg/redis/client.go b/pkg/redis/v0/client.go
similarity index 100%
rename from pkg/redis/client.go
rename to pkg/redis/v0/client.go
diff --git a/pkg/redis/config/definitions.json b/pkg/redis/v0/config/definitions.json
similarity index 97%
rename from pkg/redis/config/definitions.json
rename to pkg/redis/v0/config/definitions.json
index 44c734e..905c373 100644
--- a/pkg/redis/config/definitions.json
+++ b/pkg/redis/v0/config/definitions.json
@@ -154,6 +154,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "fd0ad325-f2f7-41f3-b247-6c71d571b1b8",
"vendor": "Redis Labs",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/redis/v0"
}
]
diff --git a/pkg/redis/config/tasks.json b/pkg/redis/v0/config/tasks.json
similarity index 100%
rename from pkg/redis/config/tasks.json
rename to pkg/redis/v0/config/tasks.json
diff --git a/pkg/redis/main.go b/pkg/redis/v0/main.go
similarity index 100%
rename from pkg/redis/main.go
rename to pkg/redis/v0/main.go
diff --git a/pkg/restapi/auth.go b/pkg/restapi/v0/auth.go
similarity index 100%
rename from pkg/restapi/auth.go
rename to pkg/restapi/v0/auth.go
diff --git a/pkg/restapi/client.go b/pkg/restapi/v0/client.go
similarity index 100%
rename from pkg/restapi/client.go
rename to pkg/restapi/v0/client.go
diff --git a/pkg/restapi/config/definitions.json b/pkg/restapi/v0/config/definitions.json
similarity index 97%
rename from pkg/restapi/config/definitions.json
rename to pkg/restapi/v0/config/definitions.json
index a7c2c43..d0bc495 100644
--- a/pkg/restapi/config/definitions.json
+++ b/pkg/restapi/v0/config/definitions.json
@@ -159,6 +159,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "5ee55a5c-6e30-4c7a-80e8-90165a729e0a",
"vendor": "",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/restapi/v0"
}
]
diff --git a/pkg/restapi/config/tasks.json b/pkg/restapi/v0/config/tasks.json
similarity index 100%
rename from pkg/restapi/config/tasks.json
rename to pkg/restapi/v0/config/tasks.json
diff --git a/pkg/restapi/connector_test.go b/pkg/restapi/v0/connector_test.go
similarity index 100%
rename from pkg/restapi/connector_test.go
rename to pkg/restapi/v0/connector_test.go
diff --git a/pkg/restapi/main.go b/pkg/restapi/v0/main.go
similarity index 100%
rename from pkg/restapi/main.go
rename to pkg/restapi/v0/main.go
diff --git a/pkg/stabilityai/client.go b/pkg/stabilityai/v0/client.go
similarity index 100%
rename from pkg/stabilityai/client.go
rename to pkg/stabilityai/v0/client.go
diff --git a/pkg/stabilityai/config/definitions.json b/pkg/stabilityai/v0/config/definitions.json
similarity index 88%
rename from pkg/stabilityai/config/definitions.json
rename to pkg/stabilityai/v0/config/definitions.json
index b5cc8e5..bbf8c6d 100644
--- a/pkg/stabilityai/config/definitions.json
+++ b/pkg/stabilityai/v0/config/definitions.json
@@ -35,6 +35,8 @@
"type": "CONNECTOR_TYPE_AI",
"uid": "c86a95cc-7d32-4e22-a290-8c699f6705a4",
"vendor": "Stability AI",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/stabilityai/v0"
}
]
diff --git a/pkg/stabilityai/config/stabilityai.json b/pkg/stabilityai/v0/config/stabilityai.json
similarity index 100%
rename from pkg/stabilityai/config/stabilityai.json
rename to pkg/stabilityai/v0/config/stabilityai.json
diff --git a/pkg/stabilityai/config/tasks.json b/pkg/stabilityai/v0/config/tasks.json
similarity index 100%
rename from pkg/stabilityai/config/tasks.json
rename to pkg/stabilityai/v0/config/tasks.json
diff --git a/pkg/stabilityai/connector_test.go b/pkg/stabilityai/v0/connector_test.go
similarity index 100%
rename from pkg/stabilityai/connector_test.go
rename to pkg/stabilityai/v0/connector_test.go
diff --git a/pkg/stabilityai/image_to_image.go b/pkg/stabilityai/v0/image_to_image.go
similarity index 100%
rename from pkg/stabilityai/image_to_image.go
rename to pkg/stabilityai/v0/image_to_image.go
diff --git a/pkg/stabilityai/list_engines.go b/pkg/stabilityai/v0/list_engines.go
similarity index 100%
rename from pkg/stabilityai/list_engines.go
rename to pkg/stabilityai/v0/list_engines.go
diff --git a/pkg/stabilityai/main.go b/pkg/stabilityai/v0/main.go
similarity index 100%
rename from pkg/stabilityai/main.go
rename to pkg/stabilityai/v0/main.go
diff --git a/pkg/stabilityai/text_to_image.go b/pkg/stabilityai/v0/text_to_image.go
similarity index 100%
rename from pkg/stabilityai/text_to_image.go
rename to pkg/stabilityai/v0/text_to_image.go
diff --git a/pkg/website/config/definitions.json b/pkg/website/v0/config/definitions.json
similarity index 83%
rename from pkg/website/config/definitions.json
rename to pkg/website/v0/config/definitions.json
index cd00656..1453395 100644
--- a/pkg/website/config/definitions.json
+++ b/pkg/website/v0/config/definitions.json
@@ -23,6 +23,8 @@
"type": "CONNECTOR_TYPE_DATA",
"uid": "98909958-db7d-4dfe-9858-7761904be17e",
"vendor": "",
- "vendor_attributes": {}
+ "vendor_attributes": {},
+ "version": "0.1.0-alpha",
+ "source_url": "github.com/instill-ai/connector/blob/main/pkg/website/v0"
}
]
diff --git a/pkg/website/config/tasks.json b/pkg/website/v0/config/tasks.json
similarity index 100%
rename from pkg/website/config/tasks.json
rename to pkg/website/v0/config/tasks.json
diff --git a/pkg/website/main.go b/pkg/website/v0/main.go
similarity index 100%
rename from pkg/website/main.go
rename to pkg/website/v0/main.go
diff --git a/pkg/website/scrape_website.go b/pkg/website/v0/scrape_website.go
similarity index 100%
rename from pkg/website/scrape_website.go
rename to pkg/website/v0/scrape_website.go