@pipedream/openai 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/actions/chat/chat.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { ConfigurationError } from "@pipedream/platform";
|
|
|
6
6
|
export default {
|
|
7
7
|
...common,
|
|
8
8
|
name: "Chat",
|
|
9
|
-
version: "0.2.
|
|
9
|
+
version: "0.2.7",
|
|
10
10
|
key: "openai-chat",
|
|
11
11
|
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)",
|
|
12
12
|
type: "action",
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
responseFormat: {
|
|
57
57
|
type: "string",
|
|
58
58
|
label: "Response Format",
|
|
59
|
-
description: "
|
|
59
|
+
description: "- **Text**: Returns unstructured text output.\n- **JSON Schema**: Enables you to define a [specific structure for the model's output using a JSON schema](https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses).",
|
|
60
60
|
options: Object.values(constants.CHAT_RESPONSE_FORMAT),
|
|
61
61
|
default: constants.CHAT_RESPONSE_FORMAT.TEXT.value,
|
|
62
62
|
optional: true,
|
|
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
|
|
|
5
5
|
export default {
|
|
6
6
|
...common,
|
|
7
7
|
name: "Chat using File Search",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.3",
|
|
9
9
|
key: "openai-chat-using-file-search",
|
|
10
10
|
description: "Chat with your files knowledge base (vector stores). [See the documentation](https://platform.openai.com/docs/guides/tools-file-search)",
|
|
11
11
|
type: "action",
|
|
@@ -80,7 +80,7 @@ export default {
|
|
|
80
80
|
responseFormat: {
|
|
81
81
|
type: "string",
|
|
82
82
|
label: "Response Format",
|
|
83
|
-
description: "
|
|
83
|
+
description: "- **Text**: Returns unstructured text output.\n- **JSON Schema**: Enables you to define a [specific structure for the model's output using a JSON schema](https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses).",
|
|
84
84
|
options: [
|
|
85
85
|
"text",
|
|
86
86
|
"json_schema",
|
|
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
|
|
|
5
5
|
export default {
|
|
6
6
|
...common,
|
|
7
7
|
name: "Chat using Functions",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.3",
|
|
9
9
|
key: "openai-chat-using-functions",
|
|
10
10
|
description: "Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions. [See the documentation](https://platform.openai.com/docs/guides/function-calling)",
|
|
11
11
|
type: "action",
|
|
@@ -108,7 +108,7 @@ export default {
|
|
|
108
108
|
responseFormat: {
|
|
109
109
|
type: "string",
|
|
110
110
|
label: "Response Format",
|
|
111
|
-
description: "
|
|
111
|
+
description: "- **Text**: Returns unstructured text output.\n- **JSON Schema**: Enables you to define a [specific structure for the model's output using a JSON schema](https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses).",
|
|
112
112
|
options: [
|
|
113
113
|
"text",
|
|
114
114
|
"json_schema",
|
|
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
|
|
|
5
5
|
export default {
|
|
6
6
|
...common,
|
|
7
7
|
name: "Chat using Web Search",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.3",
|
|
9
9
|
key: "openai-chat-using-web-search",
|
|
10
10
|
description: "Chat using the web search tool. [See the documentation](https://platform.openai.com/docs/guides/tools-web-search)",
|
|
11
11
|
type: "action",
|
|
@@ -76,7 +76,7 @@ export default {
|
|
|
76
76
|
responseFormat: {
|
|
77
77
|
type: "string",
|
|
78
78
|
label: "Response Format",
|
|
79
|
-
description: "
|
|
79
|
+
description: "- **Text**: Returns unstructured text output.\n- **JSON Schema**: Enables you to define a [specific structure for the model's output using a JSON schema](https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses).",
|
|
80
80
|
options: [
|
|
81
81
|
"text",
|
|
82
82
|
"json_schema",
|