Skip to content

Commit 87a0502

Browse files
authored
OpenAI model updates (#13951)
* Replacing deprecated 'gpt-4-vision-preview' * Updating default chat completion model * Version bumps * Patch version bumps
1 parent 9b31c08 commit 87a0502

File tree

35 files changed

+36
-36
lines changed

35 files changed

+36
-36
lines changed

components/openai/actions/analyze-image-content/analyze-image-content.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "openai-analyze-image-content",
99
name: "Analyze Image Content",
1010
description: "Send a message or question about an image and receive a response. [See the documentation](https://platform.openai.com/docs/api-reference/runs/createThreadAndRun)",
11-
version: "0.0.3",
11+
version: "0.1.0",
1212
type: "action",
1313
props: {
1414
openai,
@@ -44,7 +44,7 @@ export default {
4444
const { id: assistantId } = await this.openai.createAssistant({
4545
$,
4646
data: {
47-
model: "gpt-4-vision-preview",
47+
model: "gpt-4o", // replaced from "gpt-4-vision-preview" - see https://platform.openai.com/docs/deprecations
4848
},
4949
});
5050

components/openai/actions/cancel-run/cancel-run.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "openai-cancel-run",
55
name: "Cancel Run (Assistants)",
66
description: "Cancels a run that is in progress. [See the documentation](https://platform.openai.com/docs/api-reference/runs/cancelRun)",
7-
version: "0.0.9",
7+
version: "0.0.10",
88
type: "action",
99
props: {
1010
openai,

components/openai/actions/chat-with-assistant/chat-with-assistant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "openai-chat-with-assistant",
77
name: "Chat with Assistant",
88
description: "Sends a message and generates a response, storing the message history for a continuous conversation. [See the documentation](https://platform.openai.com/docs/api-reference/runs/createThreadAndRun)",
9-
version: "0.0.4",
9+
version: "0.0.5",
1010
type: "action",
1111
props: {
1212
openai,

components/openai/actions/chat/chat.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
55
export default {
66
...common,
77
name: "Chat",
8-
version: "0.1.13",
8+
version: "0.2.0",
99
key: "openai-chat",
1010
description: "The Chat API, using the `gpt-3.5-turbo` or `gpt-4` model. [See the documentation](https://platform.openai.com/docs/api-reference/chat)",
1111
type: "action",

components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import common from "../common/common-helper.mjs";
33
export default {
44
...common,
55
name: "Classify Items into Categories",
6-
version: "0.0.13",
6+
version: "0.1.0",
77
key: "openai-classify-items-into-categories",
88
description: "Classify items into specific categories using the Chat API. [See the documentation](https://platform.openai.com/docs/api-reference/chat)",
99
type: "action",

components/openai/actions/convert-text-to-speech/convert-text-to-speech.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "openai-convert-text-to-speech",
66
name: "Convert Text to Speech (TTS)",
77
description: "Generates audio from the input text. [See the documentation](https://platform.openai.com/docs/api-reference/audio/createSpeech)",
8-
version: "0.0.8",
8+
version: "0.0.9",
99
type: "action",
1010
props: {
1111
openai,

components/openai/actions/create-assistant/create-assistant.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "openai-create-assistant",
77
name: "Create Assistant",
88
description: "Creates an assistant with a model and instructions. [See the documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant)",
9-
version: "0.1.6",
9+
version: "0.1.7",
1010
type: "action",
1111
props: {
1212
openai,

components/openai/actions/create-batch/create-batch.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "openai-create-batch",
99
name: "Create Batch",
1010
description: "Creates and executes a batch from an uploaded file of requests. [See the documentation](https://platform.openai.com/docs/api-reference/batch/create)",
11-
version: "0.0.3",
11+
version: "0.0.4",
1212
type: "action",
1313
props: {
1414
openai,

components/openai/actions/create-embeddings/create-embeddings.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import common from "../common/common.mjs";
44

55
export default {
66
name: "Create Embeddings",
7-
version: "0.0.11",
7+
version: "0.0.12",
88
key: "openai-create-embeddings",
99
description: "Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. [See the documentation](https://platform.openai.com/docs/api-reference/embeddings)",
1010
type: "action",

components/openai/actions/create-fine-tuning-job/create-fine-tuning-job.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "openai-create-fine-tuning-job",
55
name: "Create Fine Tuning Job",
66
description: "Creates a job that fine-tunes a specified model from a given dataset. [See the documentation](https://platform.openai.com/docs/api-reference/fine-tuning/create)",
7-
version: "0.0.8",
7+
version: "0.0.9",
88
type: "action",
99
props: {
1010
openai,

0 commit comments

Comments
 (0)