OpenAIConfig
Configuration class for OpenAI integration, providing options to set API-specific paths, network timeouts, and base connection settings.
Properties
Represents the API path segment used for OpenAI's chat completions endpoint.
Specifies the API path for embedding operations in the OpenAI API.
Represents the HTTP client used for making network requests to the OpenAI API. This client is configurable and can be replaced or customized to meet specific requirements, such as adjusting timeouts, adding interceptors, or modifying base client behavior. The default implementation initializes with a standard HttpClient instance.
Represents the API path for the moderation endpoint used in OpenAI API requests. This is a constant value and is typically appended to the base URL when making requests to moderation-related services.
A configuration property that defines timeout settings for network interactions with the OpenAI API. It specifies limits for request execution time, connection establishment time, and socket operation time. These timeout values are represented in Duration and provide control over handling delayed or unresponsive network operations.