You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/openai/actions/chat/chat.mjs
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
5
5
exportdefault{
6
6
...common,
7
7
name: "Chat",
8
-
version: "0.2.0",
8
+
version: "0.2.1",
9
9
key: "openai-chat",
10
10
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)",
11
11
type: "action",
@@ -38,7 +38,13 @@ export default {
38
38
images: {
39
39
label: "Images",
40
40
type: "string[]",
41
-
description: "Provide one or more images to [OpenAI's vision model](https://platform.openai.com/docs/guides/vision). Accepts URLs or base64 encoded strings. Compatible with the `gpt4-vision-preview model`",
41
+
description: "Provide one or more images to [OpenAI's vision model](https://platform.openai.com/docs/guides/vision). Accepts URLs or base64 encoded strings. Compatible with the `gpt4-vision-preview` model",
42
+
optional: true,
43
+
},
44
+
audio: {
45
+
type: "string",
46
+
label: "Audio",
47
+
description: "Provide the file path to an audio file in the `/tmp` directory. Compatible with the `gpt-4o-audio-preview` model. Currently supports `wav` and `mp3` files.",
0 commit comments