TypeSafeAiModelCatalog
Namespace: E2E.Decision.Sdk.TypeSafeAi
public static class TypeSafeAiModelCatalogThe AI SDK’s typesafe-ai-model-catalog.ts: the decision models TypeSafe lists and the questions they answer.
Inheritance: object
Properties
Section titled “Properties”ModelCatalog
Section titled “ModelCatalog”public static IReadOnlyDictionary<string, ModelEntry> ModelCatalog { get; }Upstream’s typeSafeAiModelCatalog: one entry per id of TypeSafeAiDecisionModelIds.
Value: IReadOnlyDictionary<string, ModelEntry>
TypeSafeAiDecisionModelIds
Section titled “TypeSafeAiDecisionModelIds”public static IReadOnlyList<string> TypeSafeAiDecisionModelIds { get; }Upstream’s typeSafeAiDecisionModelIds. Any other string is accepted as a model id too.
Value: IReadOnlyList<string>
TypeSafeAiProviderOptions
Section titled “TypeSafeAiProviderOptions”public static ProviderOptionDefinitions TypeSafeAiProviderOptions { get; }Upstream’s typeSafeAiProviderOptions: the provider options the decision operation accepts.
Value: ProviderOptionDefinitions
TypeSafeAiSupportedQuestionTypes
Section titled “TypeSafeAiSupportedQuestionTypes”public static IReadOnlyList<string> TypeSafeAiSupportedQuestionTypes { get; }Upstream’s typeSafeAiSupportedQuestionTypes.
Value: IReadOnlyList<string>
Methods
Section titled “Methods”GetTypeSafeAiDecisionModelEntry(string)
Section titled “GetTypeSafeAiDecisionModelEntry(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