retell-sdk 5.43.0 → 5.45.0
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/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/resources/call.d.mts +0 -11
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +0 -11
- package/resources/call.d.ts.map +1 -1
- package/resources/playground.d.mts +19 -7
- package/resources/playground.d.mts.map +1 -1
- package/resources/playground.d.ts +19 -7
- package/resources/playground.d.ts.map +1 -1
- package/resources/tests.d.mts +57 -21
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +57 -21
- package/resources/tests.d.ts.map +1 -1
- package/src/resources/call.ts +0 -10
- package/src/resources/playground.ts +19 -7
- package/src/resources/tests.ts +57 -21
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/tests.d.mts
CHANGED
|
@@ -196,18 +196,27 @@ export declare namespace TestCaseDefinitionResponse {
|
|
|
196
196
|
*/
|
|
197
197
|
version?: number | null;
|
|
198
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
201
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
202
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
203
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
204
|
+
* matches no mock falls through to the real tool.
|
|
205
|
+
*/
|
|
199
206
|
interface ToolMock {
|
|
200
207
|
/**
|
|
201
|
-
*
|
|
208
|
+
* Decides which calls to this tool the mock applies to.
|
|
202
209
|
*/
|
|
203
210
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
204
211
|
/**
|
|
205
|
-
* The
|
|
206
|
-
* string.
|
|
212
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
213
|
+
* be a JSON string, the same shape the real tool would return.
|
|
207
214
|
*/
|
|
208
215
|
output: string;
|
|
209
216
|
/**
|
|
210
|
-
*
|
|
217
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
218
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
219
|
+
* the name you gave a custom function).
|
|
211
220
|
*/
|
|
212
221
|
tool_name: string;
|
|
213
222
|
/**
|
|
@@ -219,17 +228,20 @@ export declare namespace TestCaseDefinitionResponse {
|
|
|
219
228
|
namespace ToolMock {
|
|
220
229
|
interface Type {
|
|
221
230
|
/**
|
|
222
|
-
* Match
|
|
231
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
232
|
+
* a catch-all mock.
|
|
223
233
|
*/
|
|
224
234
|
type: 'any';
|
|
225
235
|
}
|
|
226
236
|
interface UnionMember1 {
|
|
227
237
|
/**
|
|
228
|
-
*
|
|
238
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
239
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
240
|
+
* call are ignored, so this is a subset match.
|
|
229
241
|
*/
|
|
230
242
|
args: unknown;
|
|
231
243
|
/**
|
|
232
|
-
* Match only calls
|
|
244
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
233
245
|
*/
|
|
234
246
|
type: 'partial_match';
|
|
235
247
|
}
|
|
@@ -366,18 +378,27 @@ export declare namespace TestCreateTestCaseDefinitionParams {
|
|
|
366
378
|
*/
|
|
367
379
|
version?: number | null;
|
|
368
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
383
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
384
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
385
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
386
|
+
* matches no mock falls through to the real tool.
|
|
387
|
+
*/
|
|
369
388
|
interface ToolMock {
|
|
370
389
|
/**
|
|
371
|
-
*
|
|
390
|
+
* Decides which calls to this tool the mock applies to.
|
|
372
391
|
*/
|
|
373
392
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
374
393
|
/**
|
|
375
|
-
* The
|
|
376
|
-
* string.
|
|
394
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
395
|
+
* be a JSON string, the same shape the real tool would return.
|
|
377
396
|
*/
|
|
378
397
|
output: string;
|
|
379
398
|
/**
|
|
380
|
-
*
|
|
399
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
400
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
401
|
+
* the name you gave a custom function).
|
|
381
402
|
*/
|
|
382
403
|
tool_name: string;
|
|
383
404
|
/**
|
|
@@ -389,17 +410,20 @@ export declare namespace TestCreateTestCaseDefinitionParams {
|
|
|
389
410
|
namespace ToolMock {
|
|
390
411
|
interface Type {
|
|
391
412
|
/**
|
|
392
|
-
* Match
|
|
413
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
414
|
+
* a catch-all mock.
|
|
393
415
|
*/
|
|
394
416
|
type: 'any';
|
|
395
417
|
}
|
|
396
418
|
interface UnionMember1 {
|
|
397
419
|
/**
|
|
398
|
-
*
|
|
420
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
421
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
422
|
+
* call are ignored, so this is a subset match.
|
|
399
423
|
*/
|
|
400
424
|
args: unknown;
|
|
401
425
|
/**
|
|
402
|
-
* Match only calls
|
|
426
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
403
427
|
*/
|
|
404
428
|
type: 'partial_match';
|
|
405
429
|
}
|
|
@@ -488,18 +512,27 @@ export declare namespace TestUpdateTestCaseDefinitionParams {
|
|
|
488
512
|
*/
|
|
489
513
|
version?: number | null;
|
|
490
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
517
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
518
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
519
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
520
|
+
* matches no mock falls through to the real tool.
|
|
521
|
+
*/
|
|
491
522
|
interface ToolMock {
|
|
492
523
|
/**
|
|
493
|
-
*
|
|
524
|
+
* Decides which calls to this tool the mock applies to.
|
|
494
525
|
*/
|
|
495
526
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
496
527
|
/**
|
|
497
|
-
* The
|
|
498
|
-
* string.
|
|
528
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
529
|
+
* be a JSON string, the same shape the real tool would return.
|
|
499
530
|
*/
|
|
500
531
|
output: string;
|
|
501
532
|
/**
|
|
502
|
-
*
|
|
533
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
534
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
535
|
+
* the name you gave a custom function).
|
|
503
536
|
*/
|
|
504
537
|
tool_name: string;
|
|
505
538
|
/**
|
|
@@ -511,17 +544,20 @@ export declare namespace TestUpdateTestCaseDefinitionParams {
|
|
|
511
544
|
namespace ToolMock {
|
|
512
545
|
interface Type {
|
|
513
546
|
/**
|
|
514
|
-
* Match
|
|
547
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
548
|
+
* a catch-all mock.
|
|
515
549
|
*/
|
|
516
550
|
type: 'any';
|
|
517
551
|
}
|
|
518
552
|
interface UnionMember1 {
|
|
519
553
|
/**
|
|
520
|
-
*
|
|
554
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
555
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
556
|
+
* call are ignored, so this is a subset match.
|
|
521
557
|
*/
|
|
522
558
|
args: unknown;
|
|
523
559
|
/**
|
|
524
|
-
* Match only calls
|
|
560
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
525
561
|
*/
|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,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/resources/tests.d.ts
CHANGED
|
@@ -196,18 +196,27 @@ export declare namespace TestCaseDefinitionResponse {
|
|
|
196
196
|
*/
|
|
197
197
|
version?: number | null;
|
|
198
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
201
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
202
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
203
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
204
|
+
* matches no mock falls through to the real tool.
|
|
205
|
+
*/
|
|
199
206
|
interface ToolMock {
|
|
200
207
|
/**
|
|
201
|
-
*
|
|
208
|
+
* Decides which calls to this tool the mock applies to.
|
|
202
209
|
*/
|
|
203
210
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
204
211
|
/**
|
|
205
|
-
* The
|
|
206
|
-
* string.
|
|
212
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
213
|
+
* be a JSON string, the same shape the real tool would return.
|
|
207
214
|
*/
|
|
208
215
|
output: string;
|
|
209
216
|
/**
|
|
210
|
-
*
|
|
217
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
218
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
219
|
+
* the name you gave a custom function).
|
|
211
220
|
*/
|
|
212
221
|
tool_name: string;
|
|
213
222
|
/**
|
|
@@ -219,17 +228,20 @@ export declare namespace TestCaseDefinitionResponse {
|
|
|
219
228
|
namespace ToolMock {
|
|
220
229
|
interface Type {
|
|
221
230
|
/**
|
|
222
|
-
* Match
|
|
231
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
232
|
+
* a catch-all mock.
|
|
223
233
|
*/
|
|
224
234
|
type: 'any';
|
|
225
235
|
}
|
|
226
236
|
interface UnionMember1 {
|
|
227
237
|
/**
|
|
228
|
-
*
|
|
238
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
239
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
240
|
+
* call are ignored, so this is a subset match.
|
|
229
241
|
*/
|
|
230
242
|
args: unknown;
|
|
231
243
|
/**
|
|
232
|
-
* Match only calls
|
|
244
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
233
245
|
*/
|
|
234
246
|
type: 'partial_match';
|
|
235
247
|
}
|
|
@@ -366,18 +378,27 @@ export declare namespace TestCreateTestCaseDefinitionParams {
|
|
|
366
378
|
*/
|
|
367
379
|
version?: number | null;
|
|
368
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
383
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
384
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
385
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
386
|
+
* matches no mock falls through to the real tool.
|
|
387
|
+
*/
|
|
369
388
|
interface ToolMock {
|
|
370
389
|
/**
|
|
371
|
-
*
|
|
390
|
+
* Decides which calls to this tool the mock applies to.
|
|
372
391
|
*/
|
|
373
392
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
374
393
|
/**
|
|
375
|
-
* The
|
|
376
|
-
* string.
|
|
394
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
395
|
+
* be a JSON string, the same shape the real tool would return.
|
|
377
396
|
*/
|
|
378
397
|
output: string;
|
|
379
398
|
/**
|
|
380
|
-
*
|
|
399
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
400
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
401
|
+
* the name you gave a custom function).
|
|
381
402
|
*/
|
|
382
403
|
tool_name: string;
|
|
383
404
|
/**
|
|
@@ -389,17 +410,20 @@ export declare namespace TestCreateTestCaseDefinitionParams {
|
|
|
389
410
|
namespace ToolMock {
|
|
390
411
|
interface Type {
|
|
391
412
|
/**
|
|
392
|
-
* Match
|
|
413
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
414
|
+
* a catch-all mock.
|
|
393
415
|
*/
|
|
394
416
|
type: 'any';
|
|
395
417
|
}
|
|
396
418
|
interface UnionMember1 {
|
|
397
419
|
/**
|
|
398
|
-
*
|
|
420
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
421
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
422
|
+
* call are ignored, so this is a subset match.
|
|
399
423
|
*/
|
|
400
424
|
args: unknown;
|
|
401
425
|
/**
|
|
402
|
-
* Match only calls
|
|
426
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
403
427
|
*/
|
|
404
428
|
type: 'partial_match';
|
|
405
429
|
}
|
|
@@ -488,18 +512,27 @@ export declare namespace TestUpdateTestCaseDefinitionParams {
|
|
|
488
512
|
*/
|
|
489
513
|
version?: number | null;
|
|
490
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
517
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
518
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
519
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
520
|
+
* matches no mock falls through to the real tool.
|
|
521
|
+
*/
|
|
491
522
|
interface ToolMock {
|
|
492
523
|
/**
|
|
493
|
-
*
|
|
524
|
+
* Decides which calls to this tool the mock applies to.
|
|
494
525
|
*/
|
|
495
526
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
496
527
|
/**
|
|
497
|
-
* The
|
|
498
|
-
* string.
|
|
528
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
529
|
+
* be a JSON string, the same shape the real tool would return.
|
|
499
530
|
*/
|
|
500
531
|
output: string;
|
|
501
532
|
/**
|
|
502
|
-
*
|
|
533
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
534
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
535
|
+
* the name you gave a custom function).
|
|
503
536
|
*/
|
|
504
537
|
tool_name: string;
|
|
505
538
|
/**
|
|
@@ -511,17 +544,20 @@ export declare namespace TestUpdateTestCaseDefinitionParams {
|
|
|
511
544
|
namespace ToolMock {
|
|
512
545
|
interface Type {
|
|
513
546
|
/**
|
|
514
|
-
* Match
|
|
547
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
548
|
+
* a catch-all mock.
|
|
515
549
|
*/
|
|
516
550
|
type: 'any';
|
|
517
551
|
}
|
|
518
552
|
interface UnionMember1 {
|
|
519
553
|
/**
|
|
520
|
-
*
|
|
554
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
555
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
556
|
+
* call are ignored, so this is a subset match.
|
|
521
557
|
*/
|
|
522
558
|
args: unknown;
|
|
523
559
|
/**
|
|
524
|
-
* Match only calls
|
|
560
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
525
561
|
*/
|
|
526
562
|
type: 'partial_match';
|
|
527
563
|
}
|
package/resources/tests.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tests.d.ts","sourceRoot":"","sources":["../src/resources/tests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,wBAAwB,CACtB,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,qBAAqB,CACnB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,uBAAuB,CACrB,KAAK,EAAE,iCAAiC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;OAEG;IACH,wBAAwB,CACtB,oBAAoB,EAAE,MAAM,EAC5B,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,wBAAwB,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlG;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAIzG;;OAEG;IACH,YAAY,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC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IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/src/resources/call.ts
CHANGED
|
@@ -9037,16 +9037,6 @@ export interface CallUpdateParams {
|
|
|
9037
9037
|
* can later get this field from the call object. Size limited to 50kB max.
|
|
9038
9038
|
*/
|
|
9039
9039
|
metadata?: unknown;
|
|
9040
|
-
|
|
9041
|
-
/**
|
|
9042
|
-
* @deprecated Deprecated. Use the /v2/update-live-call/{call_id} endpoint to
|
|
9043
|
-
* override dynamic variables on an ongoing call. Override dynamic variables
|
|
9044
|
-
* represented as key-value pairs of strings. Setting this will override or add the
|
|
9045
|
-
* dynamic variables set in the agent during the call. Only need to set the delta
|
|
9046
|
-
* where you want to override, no need to set the entire dynamic variables object.
|
|
9047
|
-
* Setting this to null will remove any existing override.
|
|
9048
|
-
*/
|
|
9049
|
-
override_dynamic_variables?: { [key: string]: string } | null;
|
|
9050
9040
|
}
|
|
9051
9041
|
|
|
9052
9042
|
export declare namespace Call {
|
|
@@ -605,20 +605,29 @@ export namespace PlaygroundCompletionParams {
|
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
+
/**
|
|
609
|
+
* A fake response for one tool. During a simulation, when the LLM calls a tool
|
|
610
|
+
* whose name matches `tool_name` and whose arguments satisfy `input_match_rule`,
|
|
611
|
+
* the real tool is not run; `output` is returned to the LLM instead. This keeps
|
|
612
|
+
* runs deterministic and avoids calling live integrations. A tool call that
|
|
613
|
+
* matches no mock falls through to the real tool.
|
|
614
|
+
*/
|
|
608
615
|
export interface ToolMock {
|
|
609
616
|
/**
|
|
610
|
-
*
|
|
617
|
+
* Decides which calls to this tool the mock applies to.
|
|
611
618
|
*/
|
|
612
619
|
input_match_rule: ToolMock.Type | ToolMock.UnionMember1;
|
|
613
620
|
|
|
614
621
|
/**
|
|
615
|
-
* The
|
|
616
|
-
* string.
|
|
622
|
+
* The tool result fed back to the LLM in place of the real tool's output. Should
|
|
623
|
+
* be a JSON string, the same shape the real tool would return.
|
|
617
624
|
*/
|
|
618
625
|
output: string;
|
|
619
626
|
|
|
620
627
|
/**
|
|
621
|
-
*
|
|
628
|
+
* The tool's function name, not the tool ID, i.e. the name the LLM uses when it
|
|
629
|
+
* calls the tool (for example `check_availability_cal`, `book_appointment_cal`, or
|
|
630
|
+
* the name you gave a custom function).
|
|
622
631
|
*/
|
|
623
632
|
tool_name: string;
|
|
624
633
|
|
|
@@ -632,19 +641,22 @@ export namespace PlaygroundCompletionParams {
|
|
|
632
641
|
export namespace ToolMock {
|
|
633
642
|
export interface Type {
|
|
634
643
|
/**
|
|
635
|
-
* Match
|
|
644
|
+
* Match every call to the tool, no matter what arguments were passed. Use this for
|
|
645
|
+
* a catch-all mock.
|
|
636
646
|
*/
|
|
637
647
|
type: 'any';
|
|
638
648
|
}
|
|
639
649
|
|
|
640
650
|
export interface UnionMember1 {
|
|
641
651
|
/**
|
|
642
|
-
*
|
|
652
|
+
* Argument values the call must have to match. Only the fields you list here are
|
|
653
|
+
* checked, and each must equal the value in the actual call. Extra fields in the
|
|
654
|
+
* call are ignored, so this is a subset match.
|
|
643
655
|
*/
|
|
644
656
|
args: unknown;
|
|
645
657
|
|
|
646
658
|
/**
|
|
647
|
-
* Match only calls
|
|
659
|
+
* Match only calls whose arguments contain the values listed in `args`.
|
|
648
660
|
*/
|
|
649
661
|
type: 'partial_match';
|
|
650
662
|
}
|