LiveAPIEvents
Constants
ServerContent
Content generated by the model in response to client messages. https://pkg.go.dev/google.golang.org/genai@v1.2.0#LiveServerContent
Parameters
client:
The Gemini.LiveAPIClient instance.
data:
Object
OptionalThe event's data.
ToolCall
Request for the client to execute the function_calls
and return the responses with the matching id
s. https://pkg.go.dev/google.golang.org/genai@v1.2.0#LiveServerToolCall
Parameters
client:
The Gemini.LiveAPIClient instance.
data:
Object
OptionalThe event's data.
ToolCallCancellation
Notification for the client that a previously issued ToolCallMessage
with the specified id
s should have been not executed and should be cancelled. https://pkg.go.dev/google.golang.org/genai@v1.2.0#LiveServerToolCallCancellation
Parameters
client:
The Gemini.LiveAPIClient instance.
data:
Object
OptionalThe event's data.
Unknown
The unknown event.
Parameters
client:
The Gemini.LiveAPIClient instance.
data:
Object
OptionalThe event's data.