NeuralPlus 0.2.0
A small C++17 SDK for AI clients, sessions, tools, and tracing
Loading...
Searching...
No Matches
neuralplus::OpenAIConfig Struct Reference

#include <providers.hpp>

Public Member Functions

 OpenAIConfig (std::string model_id)
 Creates OpenAI configuration for model_id.
 

Public Attributes

ModelDescriptor model
 Model ID, capabilities, limits, and data-driven provider options.
 
std::optional< std::string > api_key
 Explicit API key. When empty, OPENAI_API_KEY is read once.
 
std::string base_url {"https://api.openai.com/v1"}
 Responses API root including its version segment.
 
std::string organization
 Optional OpenAI organization identifier.
 
std::string project
 Optional OpenAI project identifier.
 
std::vector< HttpHeaderextra_headers
 Additional or replacement headers; mark credential values sensitive.
 

Detailed Description


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