Skip to content

GoogleSpeechInput

Namespace: Vercel.AI.Google

public static class GoogleSpeechInput

Inspects a speech transcript before a model call.

Inheritance: object

View source

public static GoogleSpeechInspection Inspect(string text, string? voice, JsonElement? google)

Joins structured turns and detects custom voices, which Gemini rejects.

Parameters

Name Type Description
text string
voice string
google JsonElement?

Returns: GoogleSpeechInspection

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product