Skip to content

OpenAIDecisionModelOptions

Namespace: E2E.Decision.Sdk

public sealed class OpenAIDecisionModelOptions

Settings of an OpenAIDecisionModel (the AI SDK’s createOpenAI settings it reads).

Inheritance: object

View source

public string? ApiKey { get; init; }

The API key. Falls back to ApiKeyEnv when empty.

Value: string

public string ApiKeyEnv { get; init; }

The environment variable read when ApiKey is empty. Defaults to OPENAI_API_KEY.

Value: string

public string BaseUrl { get; init; }

Value: string

public IReadOnlyDictionary<string, string>? Headers { get; init; }

Headers added to every request.

Value: IReadOnlyDictionary<string, string>