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_key so the table lives in one place across every SDK — mirrors Swift RAInferenceFramework.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 name or the value if names are not represented.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

valueOf(int value) InferenceFramework?