wirejs-deploy-amplify-basic 0.1.150-llm → 0.1.151-llm
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/services/llm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LLM as BaseLLM,
|
|
1
|
+
import { LLM as BaseLLM, AssistantMessage, ContinueConversationOptions, ToolDefinition, Resource } from 'wirejs-resources';
|
|
2
2
|
export declare class LLM extends BaseLLM {
|
|
3
3
|
private bedrockClient;
|
|
4
4
|
constructor(scope: Resource | string, id: string, options: {
|
|
@@ -13,5 +13,5 @@ export declare class LLM extends BaseLLM {
|
|
|
13
13
|
private invokeBedrock;
|
|
14
14
|
private streamBedrock;
|
|
15
15
|
private invokeModel;
|
|
16
|
-
continueConversation({ history, onChunk, timeoutSeconds, systemPrompt, models, tools, }: ContinueConversationOptions): Promise<
|
|
16
|
+
continueConversation({ history, onChunk, timeoutSeconds, systemPrompt, models, tools, }: ContinueConversationOptions): Promise<AssistantMessage>;
|
|
17
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wirejs-deploy-amplify-basic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.151-llm",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"recursive-copy": "^2.0.14",
|
|
45
45
|
"rimraf": "^6.0.1",
|
|
46
46
|
"wirejs-dom": "^1.0.44",
|
|
47
|
-
"wirejs-resources": "^0.1.
|
|
47
|
+
"wirejs-resources": "^0.1.151-llm"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@aws-amplify/backend": "^1.14.0",
|