TypeSafeAiDecisionModelConfig
Namespace: Vercel.AI.TypeSafeAi
public class TypeSafeAiDecisionModelConfigSettings for a TypeSafeAiDecisionModel.
Inheritance: object
Derived: TypeSafeAiEvaluationModelConfig
Properties
Section titled “Properties”BaseUrl
Section titled “BaseUrl”public string BaseUrl { get; set; }API base URL, without a trailing slash.
Value: string
Headers
Section titled “Headers”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>>
HttpClient
Section titled “HttpClient”public HttpClient? HttpClient { get; set; }HTTP client. Not serialized.
Value: HttpClient
Provider
Section titled “Provider”public string Provider { get; set; }Provider id, such as typesafe.decision.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product