OpenAISettings
Classsealednet10.0
The settings relevant to accessing OpenAI.
namespace Aspire.OpenAI;
public sealed class OpenAISettings{ // ...}6 members
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesDisableMetrics get; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are enabled or not.
DisableTracing get; setbool Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
EnableSensitiveTelemetryData get; setbool Gets or sets a boolean value indicating whether potentially sensitive information should be included in telemetry.
Endpointget; setUri? 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.