InferenceFramework class
Inference framework / runtime. Same name used across all SDKs (RN names it LLMFramework; we canonicalize on InferenceFramework). Sources pre-IDL: Swift ModelTypes.swift:76 (12 cases incl. coreml, mlx, whisperKitCoreML) Kotlin ComponentTypes.kt:122 (9 cases; no coreml / mlx / whisperKit) Dart model_types.dart:106 (9 cases, matches Kotlin) RN enums.ts:30 (LLMFramework) (16 cases) Web enums.ts:21 (LLMFramework) (16 cases, copy of RN)
- Available extensions
Properties
- analyticsKey → String
-
Available on InferenceFramework, provided by the ProtoInferenceFrameworkCppBridge extension
Snake_case key for analytics/telemetry. Delegates to commons'rac_inference_framework_analytics_keyso the table lives in one place across every SDK — mirrors SwiftRAInferenceFramework.analyticsKey(ModelTypes.swift:195-199).no setter - displayName → String
-
Available on InferenceFramework, provided by the ProtoInferenceFrameworkCppBridge extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toC(
) → int -
Available on InferenceFramework, provided by the ProtoInferenceFrameworkCppBridge extension
Convert a generated inference framework enum to C++ rac_inference_framework_t. Delegates to commons'rac_inference_framework_from_proto. -
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → InferenceFramework?
Constants
- INFERENCE_FRAMEWORK_BUILT_IN → const InferenceFramework
- INFERENCE_FRAMEWORK_COREML → const InferenceFramework
- INFERENCE_FRAMEWORK_EXECUTORCH → const InferenceFramework
- INFERENCE_FRAMEWORK_FLUID_AUDIO → const InferenceFramework
- INFERENCE_FRAMEWORK_FOUNDATION_MODELS → const InferenceFramework
- INFERENCE_FRAMEWORK_LLAMA_CPP → const InferenceFramework
- INFERENCE_FRAMEWORK_MEDIAPIPE → const InferenceFramework
- INFERENCE_FRAMEWORK_MLC → const InferenceFramework
- INFERENCE_FRAMEWORK_MLX → const InferenceFramework
- INFERENCE_FRAMEWORK_NONE → const InferenceFramework
- INFERENCE_FRAMEWORK_ONNX → const InferenceFramework
- INFERENCE_FRAMEWORK_PICO_LLM → const InferenceFramework
- INFERENCE_FRAMEWORK_PIPER_TTS → const InferenceFramework
- INFERENCE_FRAMEWORK_QHEXRT → const InferenceFramework
- INFERENCE_FRAMEWORK_SHERPA → const InferenceFramework
- INFERENCE_FRAMEWORK_SWIFT_TRANSFORMERS → const InferenceFramework
- INFERENCE_FRAMEWORK_SYSTEM_TTS → const InferenceFramework
- INFERENCE_FRAMEWORK_TFLITE → const InferenceFramework
- INFERENCE_FRAMEWORK_UNKNOWN → const InferenceFramework
- INFERENCE_FRAMEWORK_UNSPECIFIED → const InferenceFramework
-
values
→ const List<
InferenceFramework>