retell-sdk 4.58.0 → 4.59.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.
@@ -58,6 +58,12 @@ export declare namespace BatchCallCreateBatchCallParams {
58
58
  * from Retell, only US numbers are supported as destination.
59
59
  */
60
60
  to_number: string;
61
+ /**
62
+ * For this particular call, override agent configuration with these settings. This
63
+ * allows you to customize agent behavior for individual calls without modifying
64
+ * the base agent.
65
+ */
66
+ agent_override?: Task.AgentOverride;
61
67
  /**
62
68
  * If true, the e.164 validation will be ignored for the from_number. This can be
63
69
  * useful when you want to dial to internal pseudo numbers. This only applies when
@@ -84,6 +90,626 @@ export declare namespace BatchCallCreateBatchCallParams {
84
90
  [key: string]: unknown;
85
91
  };
86
92
  }
93
+ namespace Task {
94
+ /**
95
+ * For this particular call, override agent configuration with these settings. This
96
+ * allows you to customize agent behavior for individual calls without modifying
97
+ * the base agent.
98
+ */
99
+ interface AgentOverride {
100
+ /**
101
+ * Override agent configuration settings. Any properties specified here will
102
+ * override the base agent configuration for this call.
103
+ */
104
+ agent?: AgentOverride.Agent;
105
+ /**
106
+ * Override conversation flow configuration settings. Only applicable when using
107
+ * conversation flow as the response engine. Supported attributes - model_choice,
108
+ * model_temperature, tool_call_strict_mode, knowledge_base_ids, kb_config,
109
+ * start_speaker, begin_after_user_silence_ms.
110
+ */
111
+ conversation_flow?: AgentOverride.ConversationFlow;
112
+ /**
113
+ * Override Retell LLM configuration settings. Only applicable when using Retell
114
+ * LLM as the response engine. Supported attributes - model, s2s_model,
115
+ * model_temperature, model_high_priority, tool_call_strict_mode,
116
+ * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
117
+ * begin_message.
118
+ */
119
+ retell_llm?: AgentOverride.RetellLlm;
120
+ }
121
+ namespace AgentOverride {
122
+ /**
123
+ * Override agent configuration settings. Any properties specified here will
124
+ * override the base agent configuration for this call.
125
+ */
126
+ interface Agent {
127
+ /**
128
+ * The name of the agent. Only used for your own reference.
129
+ */
130
+ agent_name?: string | null;
131
+ /**
132
+ * If set to true, DTMF input will be accepted and processed. If false, any DTMF
133
+ * input will be ignored. Default to true.
134
+ */
135
+ allow_user_dtmf?: boolean;
136
+ /**
137
+ * If set, will add ambient environment sound to the call to make experience more
138
+ * realistic. Currently supports the following options:
139
+ *
140
+ * - `coffee-shop`: Coffee shop ambience with people chatting in background.
141
+ * [Listen to Ambience](https://retell-utils-public.s3.us-west-2.amazonaws.com/coffee-shop.wav)
142
+ *
143
+ * - `convention-hall`: Convention hall ambience, with some echo and people
144
+ * chatting in background.
145
+ * [Listen to Ambience](https://retell-utils-public.s3.us-west-2.amazonaws.com/convention-hall.wav)
146
+ *
147
+ * - `summer-outdoor`: Summer outdoor ambience with cicada chirping.
148
+ * [Listen to Ambience](https://retell-utils-public.s3.us-west-2.amazonaws.com/summer-outdoor.wav)
149
+ *
150
+ * - `mountain-outdoor`: Mountain outdoor ambience with birds singing.
151
+ * [Listen to Ambience](https://retell-utils-public.s3.us-west-2.amazonaws.com/mountain-outdoor.wav)
152
+ *
153
+ * - `static-noise`: Constant static noise.
154
+ * [Listen to Ambience](https://retell-utils-public.s3.us-west-2.amazonaws.com/static-noise.wav)
155
+ *
156
+ * - `call-center`: Call center work noise.
157
+ * [Listen to Ambience](https://retell-utils-public.s3.us-west-2.amazonaws.com/call-center.wav)
158
+ *
159
+ * Set to `null` to remove ambient sound from this agent.
160
+ */
161
+ ambient_sound?: 'coffee-shop' | 'convention-hall' | 'summer-outdoor' | 'mountain-outdoor' | 'static-noise' | 'call-center' | null;
162
+ /**
163
+ * If set, will control the volume of the ambient sound. Value ranging from [0,2].
164
+ * Lower value means quieter ambient sound, while higher value means louder ambient
165
+ * sound. If unset, default value 1 will apply.
166
+ */
167
+ ambient_sound_volume?: number;
168
+ /**
169
+ * Only applicable when enable_backchannel is true. Controls how often the agent
170
+ * would backchannel when a backchannel is possible. Value ranging from [0,1].
171
+ * Lower value means less frequent backchannel, while higher value means more
172
+ * frequent backchannel. If unset, default value 0.8 will apply.
173
+ */
174
+ backchannel_frequency?: number;
175
+ /**
176
+ * Only applicable when enable_backchannel is true. A list of words that the agent
177
+ * would use as backchannel. If not set, default backchannel words will apply.
178
+ * Check out
179
+ * [backchannel default words](/agent/interaction-configuration#backchannel) for
180
+ * more details. Note that certain voices do not work too well with certain words,
181
+ * so it's recommended to experiment before adding any words.
182
+ */
183
+ backchannel_words?: Array<string> | null;
184
+ /**
185
+ * If set, will delay the first message by the specified amount of milliseconds, so
186
+ * that it gives user more time to prepare to take the call. Valid range is [0,
187
+ * 5000]. If not set or set to 0, agent will speak immediately. Only applicable
188
+ * when agent speaks first.
189
+ */
190
+ begin_message_delay_ms?: number;
191
+ /**
192
+ * Provide a customized list of keywords to bias the transcriber model, so that
193
+ * these words are more likely to get transcribed. Commonly used for names, brands,
194
+ * street, etc.
195
+ */
196
+ boosted_keywords?: Array<string> | null;
197
+ /**
198
+ * Granular setting to manage how Retell stores sensitive data (transcripts,
199
+ * recordings, logs, etc.). This replaces the deprecated
200
+ * `opt_out_sensitive_data_storage` field.
201
+ *
202
+ * - `everything`: Store all data including transcripts, recordings, and logs.
203
+ * - `everything_except_pii`: Store data without PII when PII is detected.
204
+ * - `basic_attributes_only`: Store only basic attributes; no
205
+ * transcripts/recordings/logs. If not set, default value of "everything" will
206
+ * apply.
207
+ */
208
+ data_storage_setting?: 'everything' | 'everything_except_pii' | 'basic_attributes_only';
209
+ /**
210
+ * If set, determines what denoising mode to use. Default to noise-cancellation.
211
+ */
212
+ denoising_mode?: 'noise-cancellation' | 'noise-and-background-speech-cancellation';
213
+ /**
214
+ * Controls whether the agent would backchannel (agent interjects the speaker with
215
+ * phrases like "yeah", "uh-huh" to signify interest and engagement). Backchannel
216
+ * when enabled tends to show up more in longer user utterances. If not set, agent
217
+ * will not backchannel.
218
+ */
219
+ enable_backchannel?: boolean;
220
+ /**
221
+ * If users stay silent for a period after agent speech, end the call. The minimum
222
+ * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
223
+ */
224
+ end_call_after_silence_ms?: number;
225
+ /**
226
+ * When TTS provider for the selected voice is experiencing outages, we would use
227
+ * fallback voices listed here for the agent. Voice id and the fallback voice ids
228
+ * must be from different TTS providers. The system would go through the list in
229
+ * order, if the first one in the list is also having outage, it would use the next
230
+ * one. Set to null to remove voice fallback for the agent.
231
+ */
232
+ fallback_voice_ids?: Array<string> | null;
233
+ /**
234
+ * Controls how sensitive the agent is to user interruptions. Value ranging from
235
+ * [0,1]. Lower value means it will take longer / more words for user to interrupt
236
+ * agent, while higher value means it's easier for user to interrupt agent. If
237
+ * unset, default value 1 will apply. When this is set to 0, agent would never be
238
+ * interrupted.
239
+ */
240
+ interruption_sensitivity?: number;
241
+ /**
242
+ * Specifies what language (and dialect) the speech recognition will operate in.
243
+ * For instance, selecting `en-GB` optimizes speech recognition for British
244
+ * English. If unset, will use default value `en-US`. Select `multi` for
245
+ * multilingual support, currently this supports Spanish and English.
246
+ */
247
+ language?: 'en-US' | 'en-IN' | 'en-GB' | 'en-AU' | 'en-NZ' | 'de-DE' | 'es-ES' | 'es-419' | 'hi-IN' | 'fr-FR' | 'fr-CA' | 'ja-JP' | 'pt-PT' | 'pt-BR' | 'zh-CN' | 'ru-RU' | 'it-IT' | 'ko-KR' | 'nl-NL' | 'nl-BE' | 'pl-PL' | 'tr-TR' | 'th-TH' | 'vi-VN' | 'ro-RO' | 'bg-BG' | 'ca-ES' | 'da-DK' | 'fi-FI' | 'el-GR' | 'hu-HU' | 'id-ID' | 'no-NO' | 'sk-SK' | 'sv-SE' | 'multi';
248
+ /**
249
+ * Maximum allowed length for the call, will force end the call if reached. The
250
+ * minimum value allowed is 60,000 ms (1 min), and maximum value allowed is
251
+ * 7,200,000 (2 hours). By default, this is set to 3,600,000 (1 hour).
252
+ */
253
+ max_call_duration_ms?: number;
254
+ /**
255
+ * If set to true, will normalize the some part of text (number, currency, date,
256
+ * etc) to spoken to its spoken form for more consistent speech synthesis
257
+ * (sometimes the voice synthesize system itself might read these wrong with the
258
+ * raw text). For example, it will convert "Call my number 2137112342 on Jul 5th,
259
+ * 2024 for the $24.12 payment" to "Call my number two one three seven one one two
260
+ * three four two on july fifth, twenty twenty four for the twenty four dollars
261
+ * twelve cents payment" before starting audio generation.
262
+ */
263
+ normalize_for_speech?: boolean;
264
+ /**
265
+ * Whether this agent opts in for signed URLs for public logs and recordings. When
266
+ * enabled, the generated URLs will include security signatures that restrict
267
+ * access and automatically expire after 24 hours.
268
+ */
269
+ opt_in_signed_url?: boolean;
270
+ /**
271
+ * Configuration for PII scrubbing from transcripts and recordings.
272
+ */
273
+ pii_config?: Agent.PiiConfig;
274
+ /**
275
+ * Post call analysis data to extract from the call. This data will augment the
276
+ * pre-defined variables extracted in the call analysis. This will be available
277
+ * after the call ends.
278
+ */
279
+ post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData> | null;
280
+ /**
281
+ * The model to use for post call analysis. Default to gpt-4o-mini.
282
+ */
283
+ post_call_analysis_model?: 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude-4.5-sonnet' | 'claude-4.0-sonnet' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
284
+ /**
285
+ * A list of words / phrases and their pronunciation to be used to guide the audio
286
+ * synthesize for consistent pronunciation. Currently only supported for English &
287
+ * 11labs voices. Set to null to remove pronunciation dictionary from this agent.
288
+ */
289
+ pronunciation_dictionary?: Array<Agent.PronunciationDictionary> | null;
290
+ /**
291
+ * If set, controls how many times agent would remind user when user is
292
+ * unresponsive. Must be a non negative integer. If unset, default value of 1 will
293
+ * apply (remind once). Set to 0 to disable agent from reminding.
294
+ */
295
+ reminder_max_count?: number;
296
+ /**
297
+ * If set (in milliseconds), will trigger a reminder to the agent to speak if the
298
+ * user has been silent for the specified duration after some agent speech. Must be
299
+ * a positive number. If unset, default value of 10000 ms (10 s) will apply.
300
+ */
301
+ reminder_trigger_ms?: number;
302
+ /**
303
+ * The Response Engine to attach to the agent. It is used to generate responses for
304
+ * the agent. You need to create a Response Engine first before attaching it to an
305
+ * agent.
306
+ */
307
+ response_engine?: Agent.ResponseEngineRetellLm | Agent.ResponseEngineCustomLm | Agent.ResponseEngineConversationFlow;
308
+ /**
309
+ * Controls how responsive is the agent. Value ranging from [0,1]. Lower value
310
+ * means less responsive agent (wait more, respond slower), while higher value
311
+ * means faster exchanges (respond when it can). If unset, default value 1 will
312
+ * apply.
313
+ */
314
+ responsiveness?: number;
315
+ /**
316
+ * If set, the phone ringing will last for the specified amount of milliseconds.
317
+ * This applies for both outbound call ringtime, and call transfer ringtime.
318
+ * Default to 30000 (30 s). Valid range is [5000, 90000].
319
+ */
320
+ ring_duration_ms?: number;
321
+ /**
322
+ * If set, determines whether speech to text should focus on latency or accuracy.
323
+ * Default to fast mode.
324
+ */
325
+ stt_mode?: 'fast' | 'accurate';
326
+ user_dtmf_options?: Agent.UserDtmfOptions | null;
327
+ /**
328
+ * If set, determines the vocabulary set to use for transcription. This setting
329
+ * only applies for English agents, for non English agent, this setting is a no-op.
330
+ * Default to general.
331
+ */
332
+ vocab_specialization?: 'general' | 'medical';
333
+ /**
334
+ * Unique voice id used for the agent. Find list of available voices and their
335
+ * preview in Dashboard.
336
+ */
337
+ voice_id?: string;
338
+ /**
339
+ * Optionally set the voice model used for the selected voice. Currently only
340
+ * elevenlab voices have voice model selections. Set to null to remove voice model
341
+ * selection, and default ones will apply. Check out the dashboard for details on
342
+ * each voice model.
343
+ */
344
+ voice_model?: 'eleven_turbo_v2' | 'eleven_flash_v2' | 'eleven_turbo_v2_5' | 'eleven_flash_v2_5' | 'eleven_multilingual_v2' | 'tts-1' | 'gpt-4o-mini-tts' | null;
345
+ /**
346
+ * Controls speed of voice. Value ranging from [0.5,2]. Lower value means slower
347
+ * speech, while higher value means faster speech rate. If unset, default value 1
348
+ * will apply.
349
+ */
350
+ voice_speed?: number;
351
+ /**
352
+ * Controls how stable the voice is. Value ranging from [0,2]. Lower value means
353
+ * more stable, and higher value means more variant speech generation. Currently
354
+ * this setting only applies to `11labs` voices. If unset, default value 1 will
355
+ * apply.
356
+ */
357
+ voice_temperature?: number;
358
+ /**
359
+ * If this option is set, the call will try to detect voicemail in the first 3
360
+ * minutes of the call. Actions defined (hangup, or leave a message) will be
361
+ * applied when the voicemail is detected. Set this to null to disable voicemail
362
+ * detection.
363
+ */
364
+ voicemail_option?: Agent.VoicemailOption | null;
365
+ /**
366
+ * If set, will control the volume of the agent. Value ranging from [0,2]. Lower
367
+ * value means quieter agent speech, while higher value means louder agent speech.
368
+ * If unset, default value 1 will apply.
369
+ */
370
+ volume?: number;
371
+ /**
372
+ * The timeout for the webhook in milliseconds. If not set, default value of 10000
373
+ * will apply.
374
+ */
375
+ webhook_timeout_ms?: number;
376
+ /**
377
+ * The webhook for agent to listen to call events. See what events it would get at
378
+ * [webhook doc](/features/webhook). If set, will binds webhook events for this
379
+ * agent to the specified url, and will ignore the account level webhook for this
380
+ * agent. Set to `null` to remove webhook url from this agent.
381
+ */
382
+ webhook_url?: string | null;
383
+ }
384
+ namespace Agent {
385
+ /**
386
+ * Configuration for PII scrubbing from transcripts and recordings.
387
+ */
388
+ interface PiiConfig {
389
+ /**
390
+ * List of PII categories to scrub from transcripts and recordings.
391
+ */
392
+ categories: Array<'person_name' | 'address' | 'email' | 'phone_number' | 'ssn' | 'passport' | 'driver_license' | 'credit_card' | 'bank_account' | 'password' | 'pin' | 'medical_id' | 'date_of_birth'>;
393
+ /**
394
+ * The processing mode for PII scrubbing. Currently only post-call is supported.
395
+ */
396
+ mode: 'post_call';
397
+ }
398
+ interface StringAnalysisData {
399
+ /**
400
+ * Description of the variable.
401
+ */
402
+ description: string;
403
+ /**
404
+ * Name of the variable.
405
+ */
406
+ name: string;
407
+ /**
408
+ * Type of the variable to extract.
409
+ */
410
+ type: 'string';
411
+ /**
412
+ * Examples of the variable value to teach model the style and syntax.
413
+ */
414
+ examples?: Array<string>;
415
+ }
416
+ interface EnumAnalysisData {
417
+ /**
418
+ * The possible values of the variable, must be non empty array.
419
+ */
420
+ choices: Array<string>;
421
+ /**
422
+ * Description of the variable.
423
+ */
424
+ description: string;
425
+ /**
426
+ * Name of the variable.
427
+ */
428
+ name: string;
429
+ /**
430
+ * Type of the variable to extract.
431
+ */
432
+ type: 'enum';
433
+ }
434
+ interface BooleanAnalysisData {
435
+ /**
436
+ * Description of the variable.
437
+ */
438
+ description: string;
439
+ /**
440
+ * Name of the variable.
441
+ */
442
+ name: string;
443
+ /**
444
+ * Type of the variable to extract.
445
+ */
446
+ type: 'boolean';
447
+ }
448
+ interface NumberAnalysisData {
449
+ /**
450
+ * Description of the variable.
451
+ */
452
+ description: string;
453
+ /**
454
+ * Name of the variable.
455
+ */
456
+ name: string;
457
+ /**
458
+ * Type of the variable to extract.
459
+ */
460
+ type: 'number';
461
+ }
462
+ interface PronunciationDictionary {
463
+ /**
464
+ * The phonetic alphabet to be used for pronunciation.
465
+ */
466
+ alphabet: 'ipa' | 'cmu';
467
+ /**
468
+ * Pronunciation of the word in the format of a IPA / CMU pronunciation.
469
+ */
470
+ phoneme: string;
471
+ /**
472
+ * The string of word / phrase to be annotated with pronunciation.
473
+ */
474
+ word: string;
475
+ }
476
+ interface ResponseEngineRetellLm {
477
+ /**
478
+ * id of the Retell LLM Response Engine.
479
+ */
480
+ llm_id: string;
481
+ /**
482
+ * type of the Response Engine.
483
+ */
484
+ type: 'retell-llm';
485
+ /**
486
+ * Version of the Retell LLM Response Engine.
487
+ */
488
+ version?: number | null;
489
+ }
490
+ interface ResponseEngineCustomLm {
491
+ /**
492
+ * LLM websocket url of the custom LLM.
493
+ */
494
+ llm_websocket_url: string;
495
+ /**
496
+ * type of the Response Engine.
497
+ */
498
+ type: 'custom-llm';
499
+ }
500
+ interface ResponseEngineConversationFlow {
501
+ /**
502
+ * ID of the Conversation Flow Response Engine.
503
+ */
504
+ conversation_flow_id: string;
505
+ /**
506
+ * type of the Response Engine.
507
+ */
508
+ type: 'conversation-flow';
509
+ /**
510
+ * Version of the Conversation Flow Response Engine.
511
+ */
512
+ version?: number | null;
513
+ }
514
+ interface UserDtmfOptions {
515
+ /**
516
+ * The maximum number of digits allowed in the user's DTMF (Dual-Tone
517
+ * Multi-Frequency) input per turn. Once this limit is reached, the input is
518
+ * considered complete and a response will be generated immediately.
519
+ */
520
+ digit_limit?: number | null;
521
+ /**
522
+ * A single key that signals the end of DTMF input. Acceptable values include any
523
+ * digit (0–9), the pound/hash symbol (#), or the asterisk (\*).
524
+ */
525
+ termination_key?: string | null;
526
+ /**
527
+ * The time (in milliseconds) to wait for user DTMF input before timing out. The
528
+ * timer resets with each digit received.
529
+ */
530
+ timeout_ms?: number;
531
+ }
532
+ /**
533
+ * If this option is set, the call will try to detect voicemail in the first 3
534
+ * minutes of the call. Actions defined (hangup, or leave a message) will be
535
+ * applied when the voicemail is detected. Set this to null to disable voicemail
536
+ * detection.
537
+ */
538
+ interface VoicemailOption {
539
+ action: VoicemailOption.VoicemailActionPrompt | VoicemailOption.VoicemailActionStaticText | VoicemailOption.VoicemailActionHangup;
540
+ }
541
+ namespace VoicemailOption {
542
+ interface VoicemailActionPrompt {
543
+ /**
544
+ * The prompt used to generate the text to be spoken when the call is detected to
545
+ * be in voicemail.
546
+ */
547
+ text: string;
548
+ type: 'prompt';
549
+ }
550
+ interface VoicemailActionStaticText {
551
+ /**
552
+ * The text to be spoken when the call is detected to be in voicemail.
553
+ */
554
+ text: string;
555
+ type: 'static_text';
556
+ }
557
+ interface VoicemailActionHangup {
558
+ type: 'hangup';
559
+ }
560
+ }
561
+ }
562
+ /**
563
+ * Override conversation flow configuration settings. Only applicable when using
564
+ * conversation flow as the response engine. Supported attributes - model_choice,
565
+ * model_temperature, tool_call_strict_mode, knowledge_base_ids, kb_config,
566
+ * start_speaker, begin_after_user_silence_ms.
567
+ */
568
+ interface ConversationFlow {
569
+ /**
570
+ * If set, the AI will begin the conversation after waiting for the user for the
571
+ * duration (in milliseconds) specified by this attribute. This only applies if the
572
+ * agent is configured to wait for the user to speak first. If not set, the agent
573
+ * will wait indefinitely for the user to speak.
574
+ */
575
+ begin_after_user_silence_ms?: number | null;
576
+ /**
577
+ * Knowledge base configuration for RAG retrieval.
578
+ */
579
+ kb_config?: ConversationFlow.KBConfig;
580
+ /**
581
+ * Knowledge base IDs for RAG (Retrieval-Augmented Generation).
582
+ */
583
+ knowledge_base_ids?: Array<string> | null;
584
+ /**
585
+ * The model choice for the conversation flow.
586
+ */
587
+ model_choice?: ConversationFlow.ModelChoice;
588
+ /**
589
+ * Controls the randomness of the model's responses. Lower values make responses
590
+ * more deterministic.
591
+ */
592
+ model_temperature?: number | null;
593
+ /**
594
+ * Who starts the conversation - user or agent.
595
+ */
596
+ start_speaker?: 'user' | 'agent';
597
+ /**
598
+ * Whether to use strict mode for tool calls. Only applicable when using certain
599
+ * supported models.
600
+ */
601
+ tool_call_strict_mode?: boolean | null;
602
+ }
603
+ namespace ConversationFlow {
604
+ /**
605
+ * Knowledge base configuration for RAG retrieval.
606
+ */
607
+ interface KBConfig {
608
+ /**
609
+ * Similarity threshold for filtering search results
610
+ */
611
+ filter_score?: number;
612
+ /**
613
+ * Max number of knowledge base chunks to retrieve
614
+ */
615
+ top_k?: number;
616
+ }
617
+ /**
618
+ * The model choice for the conversation flow.
619
+ */
620
+ interface ModelChoice {
621
+ /**
622
+ * The LLM model to use
623
+ */
624
+ model: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite';
625
+ /**
626
+ * Type of model choice
627
+ */
628
+ type: 'cascading';
629
+ /**
630
+ * Whether to use high priority pool with more dedicated resource, default false
631
+ */
632
+ high_priority?: boolean;
633
+ }
634
+ }
635
+ /**
636
+ * Override Retell LLM configuration settings. Only applicable when using Retell
637
+ * LLM as the response engine. Supported attributes - model, s2s_model,
638
+ * model_temperature, model_high_priority, tool_call_strict_mode,
639
+ * knowledge_base_ids, kb_config, start_speaker, begin_after_user_silence_ms,
640
+ * begin_message.
641
+ */
642
+ interface RetellLlm {
643
+ /**
644
+ * If set, the AI will begin the conversation after waiting for the user for the
645
+ * duration (in milliseconds) specified by this attribute. This only applies if the
646
+ * agent is configured to wait for the user to speak first. If not set, the agent
647
+ * will wait indefinitely for the user to speak.
648
+ */
649
+ begin_after_user_silence_ms?: number | null;
650
+ /**
651
+ * First utterance said by the agent in the call. If not set, LLM will dynamically
652
+ * generate a message. If set to "", agent will wait for user to speak first.
653
+ */
654
+ begin_message?: string | null;
655
+ /**
656
+ * Knowledge base configuration for RAG retrieval.
657
+ */
658
+ kb_config?: RetellLlm.KBConfig | null;
659
+ /**
660
+ * A list of knowledge base ids to use for this resource.
661
+ */
662
+ knowledge_base_ids?: Array<string> | null;
663
+ /**
664
+ * Select the underlying text LLM. If not set, would default to gpt-4.1.
665
+ */
666
+ model?: 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-4o' | 'gpt-4o-mini' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'claude-3.7-sonnet' | 'claude-3.5-haiku' | 'gemini-2.0-flash' | 'gemini-2.0-flash-lite' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | null;
667
+ /**
668
+ * If set to true, will use high priority pool with more dedicated resource to
669
+ * ensure lower and more consistent latency, default to false. This feature usually
670
+ * comes with a higher cost.
671
+ */
672
+ model_high_priority?: boolean | null;
673
+ /**
674
+ * If set, will control the randomness of the response. Value ranging from [0,1].
675
+ * Lower value means more deterministic, while higher value means more random. If
676
+ * unset, default value 0 will apply. Note that for tool calling, a lower value is
677
+ * recommended.
678
+ */
679
+ model_temperature?: number;
680
+ /**
681
+ * Select the underlying speech to speech model. Can only set this or model, not
682
+ * both.
683
+ */
684
+ s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | null;
685
+ /**
686
+ * The speaker who starts the conversation. Required. Must be either 'user' or
687
+ * 'agent'.
688
+ */
689
+ start_speaker?: 'user' | 'agent';
690
+ /**
691
+ * Whether to use strict mode for tool calls. Only applicable when using certain
692
+ * supported models.
693
+ */
694
+ tool_call_strict_mode?: boolean | null;
695
+ }
696
+ namespace RetellLlm {
697
+ /**
698
+ * Knowledge base configuration for RAG retrieval.
699
+ */
700
+ interface KBConfig {
701
+ /**
702
+ * Similarity threshold for filtering search results
703
+ */
704
+ filter_score?: number;
705
+ /**
706
+ * Max number of knowledge base chunks to retrieve
707
+ */
708
+ top_k?: number;
709
+ }
710
+ }
711
+ }
712
+ }
87
713
  }
88
714
  export declare namespace BatchCall {
89
715
  export { type BatchCallResponse as BatchCallResponse, type BatchCallCreateBatchCallParams as BatchCallCreateBatchCallParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"batch-call.d.ts","sourceRoot":"","sources":["../src/resources/batch-call.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;OAWG;IACH,eAAe,CACb,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAGtC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IAEpB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