Pipecat C++ Client SDK 1.3.0
Connect native apps to Pipecat bots
Loading...
Searching...
No Matches
pipecat::rtvi::STTRawTextData Struct Reference

A transcription, as the bot's speech-to-text made it. More...

#include <pipecat/rtvi/messages.h>

Public Attributes

std::string text
 The words.
 
bool final = false
 Whether the transcription is final. If not, a new one will replace it.
 
std::string timestamp
 When it was said, as an ISO 8601 date.
 
std::string user_id
 ID of the user who spoke.
 
std::optional< TranscriptionSpeaker > speaker
 

Detailed Description

A transcription, as the bot's speech-to-text made it.

Member Data Documentation

◆ speaker

std::optional<TranscriptionSpeaker> pipecat::rtvi::STTRawTextData::speaker

Who said it, if the bot's speech-to-text tells speakers apart. Unlike user_id, it tells apart people sharing one microphone.


The documentation for this struct was generated from the following file: