@builder.io/ai-utils 0.50.3 → 0.50.4
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/package.json +1 -1
- package/src/codegen.d.ts +6 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -644,6 +644,12 @@ export interface SendMessageToolInput {
|
|
|
644
644
|
/**
|
|
645
645
|
* When true, send the response as a voice message using text-to-speech.
|
|
646
646
|
* Only supported for Telegram channels.
|
|
647
|
+
*
|
|
648
|
+
* Only set to true when the user's original message was a voice/audio
|
|
649
|
+
* message (look for "[Voice message transcription]" or "[Audio" markers),
|
|
650
|
+
* the channel is Telegram, and the response is short and conversational
|
|
651
|
+
* with no URLs, code, lists, or other content that doesn't translate to audio.
|
|
652
|
+
* Default to false (text) for all text-originated messages.
|
|
647
653
|
*/
|
|
648
654
|
voice_response?: boolean;
|
|
649
655
|
}
|