NativeBackend constructor

NativeBackend()

Create a NativeBackend using RACommons for all component operations.

All component APIs (rac_llm_component_*, rac_stt_component_*, etc.) are provided by RACommons. Backend modules (LlamaCPP, ONNX) register themselves with the C++ service registry via rac_backend_*_register().

This is the standard way to create a NativeBackend - it uses the RACommons library which provides all the generic component interfaces.

Implementation

factory NativeBackend() {
  return NativeBackend._(PlatformLoader.loadCommons(), 'commons');
}