@wildix/wim-voicebots-client 1.0.24 → 1.0.26

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.
@@ -605,6 +605,7 @@ const se_VoiceBotFunctionIntegrationWebhook = (input, context) => {
605
605
  const se_VoiceBotLlmEndpoint = (input, context) => {
606
606
  return (0, smithy_client_1.take)(input, {
607
607
  'embeddedTools': _ => se_VoiceBotEmbeddedToolsList(_, context),
608
+ 'model': [],
608
609
  'prompt': [],
609
610
  'tools': _ => se_VoiceBotToolsList(_, context),
610
611
  });
@@ -969,6 +970,7 @@ const de_VoiceBotFunctionIntegrationWebhook = (output, context) => {
969
970
  const de_VoiceBotLlmEndpoint = (output, context) => {
970
971
  return (0, smithy_client_1.take)(output, {
971
972
  'embeddedTools': (_) => de_VoiceBotEmbeddedToolsList(_, context),
973
+ 'model': smithy_client_1.expectString,
972
974
  'prompt': smithy_client_1.expectString,
973
975
  'tools': (_) => de_VoiceBotToolsList(_, context),
974
976
  });
@@ -574,6 +574,7 @@ const se_VoiceBotFunctionIntegrationWebhook = (input, context) => {
574
574
  const se_VoiceBotLlmEndpoint = (input, context) => {
575
575
  return take(input, {
576
576
  'embeddedTools': _ => se_VoiceBotEmbeddedToolsList(_, context),
577
+ 'model': [],
577
578
  'prompt': [],
578
579
  'tools': _ => se_VoiceBotToolsList(_, context),
579
580
  });
@@ -938,6 +939,7 @@ const de_VoiceBotFunctionIntegrationWebhook = (output, context) => {
938
939
  const de_VoiceBotLlmEndpoint = (output, context) => {
939
940
  return take(output, {
940
941
  'embeddedTools': (_) => de_VoiceBotEmbeddedToolsList(_, context),
942
+ 'model': __expectString,
941
943
  'prompt': __expectString,
942
944
  'tools': (_) => de_VoiceBotToolsList(_, context),
943
945
  });
@@ -62,6 +62,7 @@ declare const CreateVoiceBotCommand_base: {
62
62
  * endpoint: { // VoiceBotEndpoint Union: only one key present
63
63
  * llm: { // VoiceBotLlmEndpoint
64
64
  * prompt: "STRING_VALUE", // required
65
+ * model: "STRING_VALUE",
65
66
  * embeddedTools: [ // VoiceBotEmbeddedToolsList
66
67
  * { // VoiceBotEmbeddedTool
67
68
  * type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
@@ -163,6 +164,7 @@ declare const CreateVoiceBotCommand_base: {
163
164
  * // endpoint: { // VoiceBotEndpoint Union: only one key present
164
165
  * // llm: { // VoiceBotLlmEndpoint
165
166
  * // prompt: "STRING_VALUE", // required
167
+ * // model: "STRING_VALUE",
166
168
  * // embeddedTools: [ // VoiceBotEmbeddedToolsList
167
169
  * // { // VoiceBotEmbeddedTool
168
170
  * // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
@@ -445,6 +445,7 @@ declare const DescribeEventCommand_base: {
445
445
  * // },
446
446
  * // },
447
447
  * // ],
448
+ * // model: "STRING_VALUE",
448
449
  * // },
449
450
  * // tool: {// Union: only one key present
450
451
  * // transfer: {
@@ -259,6 +259,7 @@ declare const GetTraceCommand_base: {
259
259
  * // },
260
260
  * // },
261
261
  * // ],
262
+ * // model: "STRING_VALUE",
262
263
  * // },
263
264
  * // tool: {// Union: only one key present
264
265
  * // transfer: {
@@ -69,6 +69,7 @@ declare const GetVoiceBotCommand_base: {
69
69
  * // endpoint: { // VoiceBotEndpoint Union: only one key present
70
70
  * // llm: { // VoiceBotLlmEndpoint
71
71
  * // prompt: "STRING_VALUE", // required
72
+ * // model: "STRING_VALUE",
72
73
  * // embeddedTools: [ // VoiceBotEmbeddedToolsList
73
74
  * // { // VoiceBotEmbeddedTool
74
75
  * // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
@@ -69,6 +69,7 @@ declare const ListVoiceBotsCommand_base: {
69
69
  * // endpoint: { // VoiceBotEndpoint Union: only one key present
70
70
  * // llm: { // VoiceBotLlmEndpoint
71
71
  * // prompt: "STRING_VALUE", // required
72
+ * // model: "STRING_VALUE",
72
73
  * // embeddedTools: [ // VoiceBotEmbeddedToolsList
73
74
  * // { // VoiceBotEmbeddedTool
74
75
  * // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
@@ -62,6 +62,7 @@ declare const UpdateVoiceBotCommand_base: {
62
62
  * endpoint: { // VoiceBotEndpoint Union: only one key present
63
63
  * llm: { // VoiceBotLlmEndpoint
64
64
  * prompt: "STRING_VALUE", // required
65
+ * model: "STRING_VALUE",
65
66
  * embeddedTools: [ // VoiceBotEmbeddedToolsList
66
67
  * { // VoiceBotEmbeddedTool
67
68
  * type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
@@ -164,6 +165,7 @@ declare const UpdateVoiceBotCommand_base: {
164
165
  * // endpoint: { // VoiceBotEndpoint Union: only one key present
165
166
  * // llm: { // VoiceBotLlmEndpoint
166
167
  * // prompt: "STRING_VALUE", // required
168
+ * // model: "STRING_VALUE",
167
169
  * // embeddedTools: [ // VoiceBotEmbeddedToolsList
168
170
  * // { // VoiceBotEmbeddedTool
169
171
  * // type: "HANGUP" || "TRANSFER" || "DELEGATE" || "WAIT", // required
@@ -315,6 +315,11 @@ export interface VoiceBotTool {
315
315
  */
316
316
  export interface VoiceBotLlmEndpoint {
317
317
  prompt: string;
318
+ /**
319
+ * The AI model to use for generating responses. If not specified, uses the default model.
320
+ * @public
321
+ */
322
+ model?: string | undefined;
318
323
  /**
319
324
  * Embedded functions to use within voice session.
320
325
  * @public
@@ -1286,6 +1291,7 @@ export declare namespace TraceSegmentCompletionMessageItem {
1286
1291
  export interface TraceSegmentCompletionInput {
1287
1292
  instructions: string;
1288
1293
  messages: (TraceSegmentCompletionMessageItem)[];
1294
+ model?: string | undefined;
1289
1295
  }
1290
1296
  /**
1291
1297
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-voicebots-client",
3
3
  "description": "@wildix/wim-voicebots-client client",
4
- "version": "1.0.24",
4
+ "version": "1.0.26",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",