@openfn/language-chatgpt 1.0.2 → 1.0.3

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/ast.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "tags": [
12
12
  {
13
13
  "title": "example",
14
- "description": "prompt('Write a haiku about surfing.');"
14
+ "description": "prompt(`Filter these emails and pick out the most urgent: ${JSON.stringify($.data)}`);"
15
15
  },
16
16
  {
17
17
  "title": "public",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-chatgpt",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "OpenFn chatgpt adaptor",
5
5
  "type": "module",
6
6
  "exports": {
@@ -16,7 +16,7 @@ export function execute(...operations: any[]): operation;
16
16
  /**
17
17
  * Prompt the GPT chat interface to respond
18
18
  * @example
19
- * prompt('Write a haiku about surfing.');
19
+ * prompt(`Filter these emails and pick out the most urgent: ${JSON.stringify($.data)}`);
20
20
  * @public
21
21
  * @function
22
22
  * @param {string} message - The prompt