|
OpenAnima 0.2.0
Middleware for conversational NPCs that interact with the player, the world and each other
|
What a provider answered, why it stopped and what it cost. More...
#include <cstdint>#include <nlohmann/json.hpp>#include <optional>#include <string>Classes | |
| struct | OpenAnima::Core::TokenUsage |
| Tokens billed for one exchange. More... | |
| struct | OpenAnima::Core::Completion |
Namespaces | |
| namespace | OpenAnima |
| Root of the library. | |
| namespace | OpenAnima::Core |
| The agent and the vocabulary of a conversation. | |
Enumerations | |
| enum class | OpenAnima::Core::FinishReason : std::uint8_t { OpenAnima::Core::Unknown , OpenAnima::Core::Stop , OpenAnima::Core::Length , OpenAnima::Core::ToolCalls , OpenAnima::Core::ContentFilter , OpenAnima::Core::Cancelled } |
| Why a provider stopped generating. More... | |
What a provider answered, why it stopped and what it cost.