mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
transcriptassembler.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <QString>
6
16{
17public:
21 void reset();
22
27 void applyUpdate(const TranscriptUpdate &update);
28
33 [[nodiscard]] QString finalTranscript() const;
34
35private:
36 QString m_finalTranscript;
37 QString m_latestPartial;
38};
Collects streaming transcript events into a final user-facing transcript.
void applyUpdate(const TranscriptUpdate &update)
Applies a streaming update to the assembled transcript state.
QString finalTranscript() const
Returns the current assembled final transcript.
void reset()
Resets any accumulated transcript state.
Result of one streaming session operation.
Shared value types exchanged by the transcription pipeline.