RevAITranscriptionResult
Namespace: Vercel.AI.RevAI
public sealed class RevAITranscriptionResultRev.ai transcription, including segments and response metadata.
Inheritance: object
Constructors
Section titled “Constructors”RevAITranscriptionResult(string, IReadOnlyList<RevAITranscriptionSegment>, string?, double, RevAITranscriptionResponse)
Section titled “RevAITranscriptionResult(string, IReadOnlyList<RevAITranscriptionSegment>, string?, double, RevAITranscriptionResponse)”public RevAITranscriptionResult(string text, IReadOnlyList<RevAITranscriptionSegment> segments, string? language, double durationInSeconds, RevAITranscriptionResponse response)Creates a transcription result.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string | |
segments |
IReadOnlyList<RevAITranscriptionSegment> | |
language |
string | |
durationInSeconds |
double | |
response |
RevAITranscriptionResponse |
Properties
Section titled “Properties”DurationInSeconds
Section titled “DurationInSeconds”public double DurationInSeconds { get; }Latest word end time, in seconds.
Value: double
Language
Section titled “Language”public string? Language { get; }Language reported on the job, when present.
Value: string
Response
Section titled “Response”public RevAITranscriptionResponse Response { get; }Response metadata.
Value: RevAITranscriptionResponse
Segments
Section titled “Segments”public IReadOnlyList<RevAITranscriptionSegment> Segments { get; }Timed fragments.
Value: IReadOnlyList<RevAITranscriptionSegment>
public string Text { get; }Full transcript.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product