@stacksjs/ai 0.68.1 → 0.69.1
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/dist/client-bedrock-runtime.d.ts +4 -3
- package/dist/client-bedrock.d.ts +4 -4
- package/dist/index.js +286 -102
- package/dist/text.d.ts +2 -2
- package/package.json +4 -4
package/dist/text.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export declare interface AiOptions {
|
|
|
5
5
|
}
|
|
6
6
|
export declare interface SummarizeOptions extends AiOptions {}
|
|
7
7
|
export interface AskOptions extends AiOptions {}
|
|
8
|
-
export declare function summarize(text: string, options: SummarizeOptions
|
|
9
|
-
export declare function ask(question: string, options: AskOptions
|
|
8
|
+
export declare function summarize(text: string, options: SummarizeOptions): Promise<string>;
|
|
9
|
+
export declare function ask(question: string, options: AskOptions): Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ai",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.69.1",
|
|
5
5
|
"description": "Stacks Artificial Intelligence.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": ["Chris Breuer <chris@stacksjs.org>"],
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"prepublishOnly": "bun run build"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@aws-sdk/client-bedrock-runtime": "^3.
|
|
46
|
-
"@aws-sdk/credential-providers": "^3.
|
|
47
|
-
"@stacksjs/development": "0.
|
|
45
|
+
"@aws-sdk/client-bedrock-runtime": "^3.750.0",
|
|
46
|
+
"@aws-sdk/credential-providers": "^3.750.0",
|
|
47
|
+
"@stacksjs/development": "0.68.2",
|
|
48
48
|
"aws-sdk-client-mock": "^4.1.0"
|
|
49
49
|
}
|
|
50
50
|
}
|