StartAudioConversationOptions interface Stay organized with collections Save and categorize content based on your preferences.
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Options forstartAudioConversation().
Signature:
exportinterfaceStartAudioConversationOptionsProperties
| Property | Type | Description |
|---|---|---|
| functionCallingHandler | (functionCalls:FunctionCall[]) => Promise<FunctionResponse> | (Public Preview) An async handler that is called when the model requests a function to be executed. The handler should perform the function call and return the result as aPart, which will then be sent back to the model. |
StartAudioConversationOptions.functionCallingHandler
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
An async handler that is called when the model requests a function to be executed. The handler should perform the function call and return the result as aPart, which will then be sent back to the model.
Signature:
functionCallingHandler?:(functionCalls:FunctionCall[])=>Promise<FunctionResponse>;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-09 UTC.