Skip to content

Commit

Permalink
feat: update Instill Credit supported model list (#123)
Browse files Browse the repository at this point in the history
Because

- We'll support Instill Secrets for OpenAI test_embedding and
StabilityAI text_to_image.

This commit

- Updates Instill Secrets supported model list.
  • Loading branch information
donch1989 authored May 14, 2024
1 parent 1db0c9f commit 0b0cf81
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/connector/openai/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@
],
"instillShortDescription": "ID of the model to use",
"instillUIOrder": 0,
"instillCredentialMap": {
"values": [
"text-embedding-3-small",
"text-embedding-3-large"
],
"targets": [
"connection.api_key"
]
},
"instillUpstreamTypes": [
"value",
"reference",
Expand Down
1 change: 1 addition & 0 deletions pkg/connector/stabilityai/v0/config/definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"string"
],
"instillSecret": true,
"instillCredential": true,
"instillUIOrder": 0,
"title": "API Key",
"type": "string"
Expand Down
9 changes: 9 additions & 0 deletions pkg/connector/stabilityai/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,15 @@
"stable-diffusion-512-v2-1",
"stable-diffusion-xl-beta-v2-2-2"
],
"instillCredentialMap": {
"values": [
"stable-diffusion-xl-1024-v1-0",
"stable-diffusion-v1-6"
],
"targets": [
"connection.api_key"
]
},
"instillAcceptFormats": [
"string"
],
Expand Down

0 comments on commit 0b0cf81

Please sign in to comment.