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

#include <pipecat/rtvi/messages.h>

Public Attributes

std::string text
 The text.
 
std::string aggregated_by
 What the text is, e.g. "word" or "sentence".
 
std::optional< int64_t > segment_id
 ID shared by updates of a text.
 
std::optional< bool > will_be_spoken
 Whether the bot will speak it.
 
std::optional< std::string > spoken_status
 Where the bot is in speaking it: "new", "in-progress" or "completed".
 
std::optional< SpokenProgressData > spoken_progress
 How much of the text the bot has spoken. Only for text it speaks.
 

Detailed Description

Something the bot says or outputs, e.g. a sentence.

If the bot speaks the text, it's sent again as the bot speaks it, with the same segment_id and updated spoken_status and spoken_progress.


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