Skip to content

RevAITranscriptionResult

Namespace: Vercel.AI.RevAI

public sealed class RevAITranscriptionResult

Rev.ai transcription, including segments and response metadata.

Inheritance: object

View source

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

View source

public double DurationInSeconds { get; }

Latest word end time, in seconds.

Value: double

View source

public string? Language { get; }

Language reported on the job, when present.

Value: string

View source

public RevAITranscriptionResponse Response { get; }

Response metadata.

Value: RevAITranscriptionResponse

View source

public IReadOnlyList<RevAITranscriptionSegment> Segments { get; }

Timed fragments.

Value: IReadOnlyList<RevAITranscriptionSegment>

View source

public string Text { get; }

Full transcript.

Value: string

View source

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