@openfn/language-chatgpt 1.0.2 → 1.0.4
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 +1 -1
- package/package.json +2 -2
- package/types/Adaptor.d.ts +1 -1
package/ast.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-chatgpt",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "OpenFn chatgpt adaptor",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"openai": "^4.86.2",
|
|
24
|
-
"@openfn/language-common": "2.3.
|
|
24
|
+
"@openfn/language-common": "2.3.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"assertion-error": "2.0.0",
|
package/types/Adaptor.d.ts
CHANGED
|
@@ -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(
|
|
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
|