Raymond Maarloeve
Loading...
Searching...
No Matches
ChatResponseDTO Class Reference

Data Transfer Object for receiving chat responses from the LLM. More...

Public Attributes

string response
 The generated response text.
 
float generation_time
 The time taken to generate the response, in seconds.
 
int total_tokens
 The total number of tokens used in the response.
 
bool success
 Indicates whether the request was successful.
 

Detailed Description

Data Transfer Object for receiving chat responses from the LLM.

Member Data Documentation

◆ generation_time

float ChatResponseDTO.generation_time

The time taken to generate the response, in seconds.

◆ response

string ChatResponseDTO.response

The generated response text.

◆ success

bool ChatResponseDTO.success

Indicates whether the request was successful.

◆ total_tokens

int ChatResponseDTO.total_tokens

The total number of tokens used in the response.


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