Skip to content

AssemblyAITranscriptionSegment

Namespace: Vercel.AI.AssemblyAI

public sealed class AssemblyAITranscriptionSegment

One transcribed word.

Inheritance: object

View source

AssemblyAITranscriptionSegment(string, double, double)

Section titled “AssemblyAITranscriptionSegment(string, double, double)”
public AssemblyAITranscriptionSegment(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; }

Word text.

Value: string

View source

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