Skip to content

TypeSafeAiModelCatalog

Namespace: E2E.Decision.Sdk.TypeSafeAi

public static class TypeSafeAiModelCatalog

The AI SDK’s typesafe-ai-model-catalog.ts: the decision models TypeSafe lists and the questions they answer.

Inheritance: object

View source

public static IReadOnlyDictionary<string, ModelEntry> ModelCatalog { get; }

Upstream’s typeSafeAiModelCatalog: one entry per id of TypeSafeAiDecisionModelIds.

Value: IReadOnlyDictionary<string, ModelEntry>

public static IReadOnlyList<string> TypeSafeAiDecisionModelIds { get; }

Upstream’s typeSafeAiDecisionModelIds. Any other string is accepted as a model id too.

Value: IReadOnlyList<string>

public static ProviderOptionDefinitions TypeSafeAiProviderOptions { get; }

Upstream’s typeSafeAiProviderOptions: the provider options the decision operation accepts.

Value: ProviderOptionDefinitions

public static IReadOnlyList<string> TypeSafeAiSupportedQuestionTypes { get; }

Upstream’s typeSafeAiSupportedQuestionTypes.

Value: IReadOnlyList<string>

public static ModelEntry GetTypeSafeAiDecisionModelEntry(string modelId)

Upstream’s getTypeSafeAiDecisionModelEntry. A model id outside the catalog reports long context as unknown.

Parameters

Name Type Description
modelId string

Returns: ModelEntry