Loading...
Searching...
No Matches
opennn::ChatResponse Struct Reference

#include <opennn/network/chat.h>

Public Attributes

string reasoning
 
string content
 
FinishReason finish_reason = FinishReason::MaximumTokens
 
Index prompt_tokens = 0
 
Index prefill_tokens = 0
 
Index generated_tokens = 0
 
Index reasoning_tokens = 0
 
Index content_tokens = 0
 
Index control_tokens = 0
 
double prefill_milliseconds = 0.0
 
double decode_milliseconds = 0.0
 

Member Data Documentation

◆ content

string opennn::ChatResponse::content

◆ content_tokens

Index opennn::ChatResponse::content_tokens = 0

◆ control_tokens

Index opennn::ChatResponse::control_tokens = 0

◆ decode_milliseconds

double opennn::ChatResponse::decode_milliseconds = 0.0

◆ finish_reason

FinishReason opennn::ChatResponse::finish_reason = FinishReason::MaximumTokens

◆ generated_tokens

Index opennn::ChatResponse::generated_tokens = 0

◆ prefill_milliseconds

double opennn::ChatResponse::prefill_milliseconds = 0.0

◆ prefill_tokens

Index opennn::ChatResponse::prefill_tokens = 0

◆ prompt_tokens

Index opennn::ChatResponse::prompt_tokens = 0

◆ reasoning

string opennn::ChatResponse::reasoning

◆ reasoning_tokens

Index opennn::ChatResponse::reasoning_tokens = 0