TranscriptionResult
Namespace: Vercel.AI.Provider
public sealed class TranscriptionResultTranscription result.
Inheritance: object
Constructors
Section titled “Constructors”TranscriptionResult(string)
Section titled “TranscriptionResult(string)”public TranscriptionResult(string text)Creates a transcription with no usage.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
TranscriptionResult(string, AudioUsage?)
Section titled “TranscriptionResult(string, AudioUsage?)”public TranscriptionResult(string text, AudioUsage? usage)Creates a transcription.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string | |
usage |
AudioUsage |
Properties
Section titled “Properties”public string Text { get; }Transcript text.
Value: string
public AudioUsage? Usage { get; }Usage reported by the call. Absent unless the caller supplies it.
Value: AudioUsage
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product