Skip to content

E2E.Decision.Sdk.TypeSafeAi

API reference

Public types in the E2E.Decision.Sdk.TypeSafeAi namespace.

Type Summary
DecisionTypeSafeAiModel Answers questions through TypeSafe’s SystemOne API, POST /systemone (the AI SDK’s DecisionTypeSafeAiModel in @ai-sdk/typesafe-ai). It answers choice, score, boolean, and box questions, takes PNG and JPEG images, and reports each answer’s confidence as typesafe provider metadata.
SerializedModelOptions What crosses a workflow boundary for a model (the object upstream’s serializeModelOptions returns).
TypeSafeAiDecisionModelConfig The config of a DecisionTypeSafeAiModel (upstream’s TypeSafeAiDecisionModelConfig).
TypeSafeAiDecisionModelOptions The AI SDK’s typesafeAiDecisionModelOptions: the typesafe provider options of a decision call.
TypeSafeAiFilePartProviderOptions The AI SDK’s typesafeAiFilePartProviderOptions: the typesafe options of an image file part.
TypeSafeAiModelCatalog The AI SDK’s typesafe-ai-model-catalog.ts: the decision models TypeSafe lists and the questions they answer.
TypeSafeAiProvider The AI SDK’s createTypeSafeAi and the typeSafeAi provider (typesafe-ai-provider.ts), for TypeSafe’s experimental decision capability: typeSafeAi.decisionModel(‘jev-latest’).
TypeSafeAiProviderSettings The AI SDK’s TypeSafeAiProviderSettings (typesafe-ai-provider.ts).