Skip to content

TypeSafeAiDecisionModelConfig

Namespace: Vercel.AI.TypeSafeAi

public class TypeSafeAiDecisionModelConfig

Settings for a TypeSafeAiDecisionModel.

Inheritance: object

Derived: TypeSafeAiEvaluationModelConfig

View source

public string BaseUrl { get; set; }

API base URL, without a trailing slash.

Value: string

View source

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

Provider headers, resolved on every call. When null, the model sends a bearer token read from TYPESAFE_AI_API_KEY at call time.

Value: Func<IReadOnlyDictionary<string, string>>

View source

public HttpClient? HttpClient { get; set; }

HTTP client. Not serialized.

Value: HttpClient

View source

public string Provider { get; set; }

Provider id, such as typesafe.decision.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product