GoogleRealtimeSession
Namespace: Vercel.AI.Google
public sealed class GoogleRealtimeSessionSession fields accepted by GoogleRealtime.
Inheritance: object
Properties
Section titled “Properties”InputAudioRate
Section titled “InputAudioRate”public int? InputAudioRate { get; set; }Capture rate advertised on input audio blobs.
Value: int?
InputAudioTranscription
Section titled “InputAudioTranscription”public bool InputAudioTranscription { get; set; }When true, request input transcription.
Value: bool
Instructions
Section titled “Instructions”public string? Instructions { get; set; }System instruction.
Value: string
ModelId
Section titled “ModelId”public string ModelId { get; set; }Model id.
Value: string
OutputAudioTranscription
Section titled “OutputAudioTranscription”public bool OutputAudioTranscription { get; set; }When true, request output transcription.
Value: bool
OutputModalities
Section titled “OutputModalities”public IReadOnlyList<string>? OutputModalities { get; set; }Output modalities. Defaults to audio.
Value: IReadOnlyList<string>
ProviderOptions
Section titled “ProviderOptions”public JsonElement? ProviderOptions { get; set; }Provider options. google holds translation and thinking config. Other keys are copied onto setup.
Value: JsonElement?
public IReadOnlyList<GoogleRealtimeTool>? Tools { get; set; }Function tools.
Value: IReadOnlyList<GoogleRealtimeTool>
public string? Voice { get; set; }Voice name.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product