본문으로 건너뛰기

GenerationResult Struct

Declaration​

struct simaai::neat::genai::GenerationResult { ... }

Included Headers​

#include <GenAITypes.h>

Public Member Attributes Index​

std::stringtext
GenerationMetricsmetrics
std::stringfinish_reason
std::stringlanguage

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...

Jsontool_calls = Json::array()
std::stringreasoning

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​

std::optional<float> simaai::neat::genai::GenerationResult::avg_logprob

Mean log probability over generated ASR tokens.

Definition at line 130 of file GenAITypes.h.

finish_reason​

std::string simaai::neat::genai::GenerationResult::finish_reason

Definition at line 124 of file GenAITypes.h.

language​

std::string simaai::neat::genai::GenerationResult::language

Detected or explicitly selected ASR source language.

Definition at line 126 of file GenAITypes.h.

metrics​

GenerationMetrics simaai::neat::genai::GenerationResult::metrics

Definition at line 123 of file GenAITypes.h.

no_speech_prob​

std::optional<float> simaai::neat::genai::GenerationResult::no_speech_prob

Probability that the ASR input contains no speech.

Definition at line 128 of file GenAITypes.h.

reasoning​

std::string simaai::neat::genai::GenerationResult::reasoning

Model reasoning, when thinking was enabled and the model emitted it.

Definition at line 133 of file GenAITypes.h.

text​

std::string simaai::neat::genai::GenerationResult::text

Definition at line 122 of file GenAITypes.h.

tool_calls​

Json simaai::neat::genai::GenerationResult::tool_calls = Json::array()

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.