Interface IStreamingTranscriptionSession<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Interface for streaming transcription sessions.
public interface IStreamingTranscriptionSession<T> : IDisposable
Type Parameters
TThe 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
audioChunkTensor<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.