OpenAnima 0.2.0
Middleware for conversational NPCs that interact with the player, the world and each other
Loading...
Searching...
No Matches
Public Attributes | List of all members
OpenAnima::Core::TokenUsage Struct Reference

Tokens billed for one exchange. More...

#include <Completion.h>

Public Attributes

std::int32_t promptTokens {0}
 Tokens in the conversation that was sent.
 
std::int32_t completionTokens {0}
 Tokens in the answer that came back.
 
std::int32_t totalTokens {0}
 Sum reported by the provider.
 

Detailed Description

Tokens billed for one exchange.


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