NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
providers.hpp File Reference
#include "neuralplus/client.hpp"
#include "neuralplus/export.hpp"
#include "neuralplus/transport.hpp"
#include "neuralplus/types.hpp"
#include <memory>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  neuralplus::OpenAIConfig
 
struct  neuralplus::AnthropicConfig
 
struct  neuralplus::GeminiConfig
 
struct  neuralplus::OpenAICompatibleConfig
 
class  neuralplus::OpenAIClient
 OpenAI Responses API client. More...
 
class  neuralplus::AnthropicClient
 Anthropic Messages API client. More...
 
class  neuralplus::GeminiClient
 Google Gemini generateContent API client. More...
 
class  neuralplus::OpenAICompatibleClient
 Generic OpenAI-compatible Chat Completions client. More...
 

Functions

NEURALPLUS_API std::unique_ptr< AIClientneuralplus::make_client (OpenAIConfig config, const ClientOptions &options={})
 Creates an OpenAI client. Credentials resolve as explicit value, environment, error.
 
NEURALPLUS_API std::unique_ptr< AIClientneuralplus::make_client (AnthropicConfig config, const ClientOptions &options={})
 Creates an Anthropic client. Credentials resolve as explicit value, environment, error.
 
NEURALPLUS_API std::unique_ptr< AIClientneuralplus::make_client (GeminiConfig config, const ClientOptions &options={})
 Creates a Gemini client. GEMINI_API_KEY precedes GOOGLE_API_KEY.
 
NEURALPLUS_API std::unique_ptr< AIClientneuralplus::make_client (OpenAICompatibleConfig config, const ClientOptions &options={})
 Creates an OpenAI-compatible client; unauthenticated local endpoints are allowed.
 

Detailed Description

Configurations, concrete clients, and factories for built-in providers.