pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::orch::ChatResponse Struct Reference

A provider's answer. More...

#include <message.hpp>

Collaboration diagram for pulsatrix::orch::ChatResponse:

Public Attributes

Message message
 always an assistant message
 
StopReason stop_reason = StopReason::EndTurn
 
std::string stop_reason_text
 the provider's own word for it, for example end_turn
 
Usage usage
 
std::string model
 the model that answered, as the provider reports it
 
std::string request_id
 for a support ticket, when the provider sends one
 

Detailed Description

A provider's answer.

Member Data Documentation

◆ message

Message pulsatrix::orch::ChatResponse::message

always an assistant message

◆ model

std::string pulsatrix::orch::ChatResponse::model

the model that answered, as the provider reports it

◆ request_id

std::string pulsatrix::orch::ChatResponse::request_id

for a support ticket, when the provider sends one

◆ stop_reason

StopReason pulsatrix::orch::ChatResponse::stop_reason = StopReason::EndTurn

◆ stop_reason_text

std::string pulsatrix::orch::ChatResponse::stop_reason_text

the provider's own word for it, for example end_turn

◆ usage

Usage pulsatrix::orch::ChatResponse::usage

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