Skip to content

TypeSafeAiProviderSettings

Namespace: E2E.Decision.Sdk.TypeSafeAi

public sealed class TypeSafeAiProviderSettings

The AI SDK’s TypeSafeAiProviderSettings (typesafe-ai-provider.ts).

Inheritance: object

View source

public string? ApiKey { get; init; }

The API key, sent as the bearer. Defaults to the TYPESAFE_AI_API_KEY environment variable, read at each call.

Value: string

public string? BaseUrl { get; init; }

The base URL prefix for API calls. Defaults to the TYPESAFE_AI_BASE_URL environment variable, then https://api.typesafe.ai/v1.

Value: string

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

Headers added to every request.

Value: IReadOnlyDictionary<string, string>

public HttpClient? HttpClient { get; init; }

The client that sends the requests.

Value: HttpClient