|
NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
|
Anthropic Messages API client. More...
#include <providers.hpp>
Public Member Functions | |
| AnthropicClient (AnthropicConfig config, const ClientOptions &options={}) | |
| Creates an Anthropic Messages API client. | |
Public Member Functions inherited from neuralplus::AIClient | |
| const ModelDescriptor & | model () const noexcept |
| Returns the immutable model description used by this client. | |
| AIResponse | generate (Session &session, const Message &input, const GenerateOptions &options={}) |
| Generates from one input message and updates the supplied Session. | |
| AIResponse | generate (Session &session, const std::string &input, const GenerateOptions &options={}) |
| Convenience overload for text input. | |
| AIResponse | generate (const Message &input, const GenerateOptions &options={}) |
| One-shot convenience overload that uses an internal Session. | |
| AIResponse | generate (const std::string &input, const GenerateOptions &options={}) |
| One-shot convenience overload for text input. | |
Additional Inherited Members | |
Protected Member Functions inherited from neuralplus::AIClient | |
| AIClient (ModelDescriptor model, const ClientOptions &options={}) | |
| Creates a provider client for a model with shared tools, tracing, and transport. | |
| void | trace (const TraceEvent &event) const noexcept |
| Emits a custom event through this client's exception-isolated tracer fan-out. | |
Anthropic Messages API client.