OpenAISettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The settings relevant to accessing OpenAI.
public sealed class OpenAISettings
type OpenAISettings = class
Public NotInheritable Class OpenAISettings
- Inheritance
-
OpenAISettings
Constructors
OpenAISettings() |
Properties
DisableMetrics |
Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not. |
DisableTracing |
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not. |
Endpoint |
Gets or sets a Uri referencing the OpenAI REST API endpoint. Leave empty to connect to OpenAI, or set it to use a service using an API compatible with OpenAI. |
Key |
Gets or sets a the API key to used to authenticate with the service. |