Declaration
class simaai::neat::genai::GenerationStream::Producer { ... }
Friends Index
Private Constructors Index
Public Member Functions Index
| void | record_metric (const std::string &metric, double value) |
|
|
|
| void | record_text (const std::string &text, bool stream_end) |
|
|
|
| void | push (TokenSample sample) |
|
|
|
| void | finish (std::string finish_reason, std::optional< std::uint32_t > generated_tokens, std::string language={}, std::optional< float > no_speech_prob=std::nullopt, std::optional< float > avg_logprob=std::nullopt) |
|
|
|
| bool | cancelled () const |
|
|
|
| GenerationMetrics | current_metrics () const |
|
|
|
Private Member Attributes Index
Definition at line 149 of file GenAITypes.h.
Private Constructors
Producer()
| simaai::neat::genai::GenerationStream::Producer::Producer (Impl & impl) |
|
explicit
|
Public Member Functions
cancelled()