|
PACS System 0.1.0
PACS DICOM system library
|
Configuration for AI service connection. More...
#include <ai_service_connector.h>

Public Attributes | |
| std::string | base_url |
| Base URL of the AI service (e.g., "https://ai.example.com/v1") | |
| std::string | service_name {"ai_service"} |
| Service name for identification. | |
| authentication_type | auth_type {authentication_type::none} |
| Authentication type. | |
| std::string | api_key |
| API key (for api_key auth type) | |
| std::string | username |
| Username (for basic auth) | |
| std::string | password |
| Password (for basic auth) | |
| std::string | bearer_token |
| Bearer token (for bearer_token auth type) | |
| std::chrono::milliseconds | connection_timeout {30000} |
| Connection timeout. | |
| std::chrono::milliseconds | request_timeout {300000} |
| Request timeout for inference operations. | |
| std::size_t | max_retries {3} |
| Maximum retry attempts on failure. | |
| std::chrono::milliseconds | retry_delay {1000} |
| Delay between retries (exponential backoff applied) | |
| bool | verify_ssl {true} |
| Enable TLS certificate verification. | |
| std::optional< std::filesystem::path > | ca_cert_path |
| Path to CA certificate bundle (optional) | |
| std::chrono::milliseconds | polling_interval {5000} |
| Status polling interval. | |
Configuration for AI service connection.
Definition at line 125 of file ai_service_connector.h.
| std::string kcenon::pacs::ai::ai_service_config::api_key |
API key (for api_key auth type)
Definition at line 136 of file ai_service_connector.h.
| authentication_type kcenon::pacs::ai::ai_service_config::auth_type {authentication_type::none} |
| std::string kcenon::pacs::ai::ai_service_config::base_url |
Base URL of the AI service (e.g., "https://ai.example.com/v1")
Definition at line 127 of file ai_service_connector.h.
| std::string kcenon::pacs::ai::ai_service_config::bearer_token |
Bearer token (for bearer_token auth type)
Definition at line 145 of file ai_service_connector.h.
| std::optional<std::filesystem::path> kcenon::pacs::ai::ai_service_config::ca_cert_path |
Path to CA certificate bundle (optional)
Definition at line 163 of file ai_service_connector.h.
| std::chrono::milliseconds kcenon::pacs::ai::ai_service_config::connection_timeout {30000} |
| std::size_t kcenon::pacs::ai::ai_service_config::max_retries {3} |
| std::string kcenon::pacs::ai::ai_service_config::password |
Password (for basic auth)
Definition at line 142 of file ai_service_connector.h.
| std::chrono::milliseconds kcenon::pacs::ai::ai_service_config::polling_interval {5000} |
| std::chrono::milliseconds kcenon::pacs::ai::ai_service_config::request_timeout {300000} |
Request timeout for inference operations.
Definition at line 151 of file ai_service_connector.h.
| std::chrono::milliseconds kcenon::pacs::ai::ai_service_config::retry_delay {1000} |
Delay between retries (exponential backoff applied)
Definition at line 157 of file ai_service_connector.h.
| std::string kcenon::pacs::ai::ai_service_config::service_name {"ai_service"} |
Service name for identification.
Definition at line 130 of file ai_service_connector.h.
| std::string kcenon::pacs::ai::ai_service_config::username |
Username (for basic auth)
Definition at line 139 of file ai_service_connector.h.
| bool kcenon::pacs::ai::ai_service_config::verify_ssl {true} |
Enable TLS certificate verification.
Definition at line 160 of file ai_service_connector.h.