ark::openai::OpenAiRequestConfig

Defined in header “ark/openai/openai_config.hh”.


Common configuration used for all OpenAI API requests.

Variables

  • std::optional< core::Url > override_url
    The URL to make this request to. Sets the base URL to contact, not the actual path (the path is assumed to be part of the API and is stable).

  • std::string api_key
    API key to use. Required.

  • std::string organization_id
    Organization identifier to use (leave blank to accept the default).