@pipedream/openai 0.9.0 → 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.
@@ -6,7 +6,7 @@ import { ConfigurationError } from "@pipedream/platform";
6
6
  export default {
7
7
  ...common,
8
8
  name: "Chat",
9
- version: "0.2.6",
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: "Specify the format that the model must output. \n- **Text** (default): Returns unstructured text output.\n- **JSON Object**: Ensures the model's output is a valid JSON object.\n- **JSON Schema** (GPT-4o and later): Enables you to define a specific structure for the model's output using a JSON schema. Supported with models `gpt-4o-2024-08-06` and later, and `gpt-4o-mini-2024-07-18` and later.",
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.1",
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",
@@ -32,7 +32,7 @@ export default {
32
32
  input: {
33
33
  type: "string",
34
34
  label: "Chat Input",
35
- description: "Text, image, or file inputs to the model, used to generate a response",
35
+ description: "Text inputs to the model used to generate a response",
36
36
  },
37
37
  instructions: {
38
38
  type: "string",
@@ -80,7 +80,7 @@ export default {
80
80
  responseFormat: {
81
81
  type: "string",
82
82
  label: "Response Format",
83
- description: "Specify the format that the model must output. \n- **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).",
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.1",
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",
@@ -25,7 +25,7 @@ export default {
25
25
  input: {
26
26
  type: "string",
27
27
  label: "Chat Input",
28
- description: "Text, image, or file inputs to the model, used to generate a response",
28
+ description: "Text inputs to the model used to generate a response",
29
29
  },
30
30
  functions: {
31
31
  type: "string",
@@ -108,7 +108,7 @@ export default {
108
108
  responseFormat: {
109
109
  type: "string",
110
110
  label: "Response Format",
111
- description: "Specify the format that the model must output. \n- **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).",
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.1",
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",
@@ -24,7 +24,7 @@ export default {
24
24
  input: {
25
25
  type: "string",
26
26
  label: "Chat Input",
27
- description: "Text, image, or file inputs to the model, used to generate a response",
27
+ description: "Text inputs to the model used to generate a response",
28
28
  },
29
29
  instructions: {
30
30
  type: "string",
@@ -76,7 +76,7 @@ export default {
76
76
  responseFormat: {
77
77
  type: "string",
78
78
  label: "Response Format",
79
- description: "Specify the format that the model must output. \n- **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).",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/openai",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Pipedream OpenAI Components",
5
5
  "main": "openai.app.mjs",
6
6
  "keywords": [