Guitar
Classes | Public Attributes | List of all members
AiResponseEx Struct Reference

#include <AiApiBridge.h>

Collaboration diagram for AiResponseEx:
Collaboration graph
[legend]

Classes

struct  AnthropicContentItem
 
struct  Error
 
struct  GoogleContentItem
 
struct  OpenAiChoice
 
struct  OpenAiOutputItem
 
struct  Usage
 

Public Attributes

GenerativeAI::ProviderID api_id = GenerativeAI::ProviderID::Unknown
 
std::string model
 
std::string id
 
struct {
   std::string   type
 
   std::string   role
 
   std::vector< AnthropicContentItem >   content
 
anthropic
 
struct {
   std::string   object
 
   std::string   status
 
   std::vector< OpenAiOutputItem >   output
 
   std::vector< OpenAiChoice >   choices
 
openai
 
struct {
   std::vector< GoogleContentItem >   content_parts
 
google
 
std::string stop_reason
 
struct AiResponseEx::Usage usage
 
struct AiResponseEx::Error error
 

Member Data Documentation

◆ 

struct { ... } AiResponseEx::anthropic

◆ api_id

◆ choices

std::vector<OpenAiChoice> AiResponseEx::choices

◆ content

std::vector<AnthropicContentItem> AiResponseEx::content

◆ content_parts

std::vector<GoogleContentItem> AiResponseEx::content_parts

◆ error

struct AiResponseEx::Error AiResponseEx::error

◆ 

struct { ... } AiResponseEx::google

◆ id

std::string AiResponseEx::id

◆ model

std::string AiResponseEx::model

◆ object

std::string AiResponseEx::object

◆ 

struct { ... } AiResponseEx::openai

◆ output

std::vector<OpenAiOutputItem> AiResponseEx::output

◆ role

std::string AiResponseEx::role

◆ status

std::string AiResponseEx::status

◆ stop_reason

std::string AiResponseEx::stop_reason

◆ type

std::string AiResponseEx::type

◆ usage

struct AiResponseEx::Usage AiResponseEx::usage

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