Skip to content

TranscriptSegment

Namespace: Vercel.AI.Operations

public sealed class TranscriptSegment

One timed transcript segment.

Inheritance: object

View source

public TranscriptSegment(string text, double startSecond, double endSecond)

Creates a segment.

Parameters

Name Type Description
text string
startSecond double
endSecond double

View source

public double EndSecond { get; }

End time in seconds.

Value: double

View source

public double StartSecond { get; }

Start time in seconds.

Value: double

View source

public string Text { get; }

Segment text.

Value: string

View source

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