TypeSafeAiProviderSettings
Namespace: E2E.Decision.Sdk.TypeSafeAi
public sealed class TypeSafeAiProviderSettingsThe AI SDK’s TypeSafeAiProviderSettings (typesafe-ai-provider.ts).
Inheritance: object
Properties
Section titled “Properties”ApiKey
Section titled “ApiKey”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
BaseUrl
Section titled “BaseUrl”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
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string>? Headers { get; init; }Headers added to every request.
Value: IReadOnlyDictionary<string, string>
HttpClient
Section titled “HttpClient”public HttpClient? HttpClient { get; init; }The client that sends the requests.
Value: HttpClient