NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::OpenAIClient Class Referencefinal

OpenAI Responses API client. More...

#include <providers.hpp>

Inheritance diagram for neuralplus::OpenAIClient:
neuralplus::AIClient

Public Member Functions

 OpenAIClient (OpenAIConfig config, const ClientOptions &options={})
 Creates an OpenAI Responses API client.
 
- Public Member Functions inherited from neuralplus::AIClient
const ModelDescriptormodel () 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.
 

Detailed Description

OpenAI Responses API client.


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