GoogleSpeechInput
Namespace: Vercel.AI.Google
public static class GoogleSpeechInputInspects a speech transcript before a model call.
Inheritance: object
Methods
Section titled “Methods”Inspect(string, string?, JsonElement?)
Section titled “Inspect(string, string?, JsonElement?)”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
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product