GenerationResult Struct
Declaration
Included Headers
Public Member Attributes Index
| std::string | text |
| GenerationMetrics | metrics |
| std::string | finish_reason |
| std::string | language |
|
Detected or explicitly selected ASR source language. More... | |
| std::optional< float > | no_speech_prob |
|
Probability that the ASR input contains no speech. More... | |
| std::optional< float > | avg_logprob |
|
Mean log probability over generated ASR tokens. More... | |
| Json | tool_calls = Json::array() |
| std::string | reasoning |
|
Model reasoning, when thinking was enabled and the model emitted it. More... | |
Definition at line 121 of file GenAITypes.h.
Public Member Attributes
avg_logprob
|
Mean log probability over generated ASR tokens.
Definition at line 130 of file GenAITypes.h.
finish_reason
|
Definition at line 124 of file GenAITypes.h.
language
|
Detected or explicitly selected ASR source language.
Definition at line 126 of file GenAITypes.h.
metrics
|
Definition at line 123 of file GenAITypes.h.
no_speech_prob
|
Probability that the ASR input contains no speech.
Definition at line 128 of file GenAITypes.h.
reasoning
|
Model reasoning, when thinking was enabled and the model emitted it.
Definition at line 133 of file GenAITypes.h.
text
|
Definition at line 122 of file GenAITypes.h.
tool_calls
|
Definition at line 131 of file GenAITypes.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.