Table of Contents

Interface IStreamingTranscriptionSession<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Interface for streaming transcription sessions.

public interface IStreamingTranscriptionSession<T> : IDisposable

Type Parameters

T

The numeric type used for calculations.

Inherited Members

Methods

FeedAudio(Tensor<T>)

Feeds an audio chunk to the streaming session.

void FeedAudio(Tensor<T> audioChunk)

Parameters

audioChunk Tensor<T>

Audio samples to process.

Finalize()

Finalizes the session and returns the complete transcription.

TranscriptionResult<T> Finalize()

Returns

TranscriptionResult<T>

The final transcription result.

GetPartialResult()

Gets the current partial transcription.

TranscriptionResult<T> GetPartialResult()

Returns

TranscriptionResult<T>

The current partial result.