RAGModule class

RAG module for Retrieval-Augmented Generation.

Registers the C++ RAG backend with the RunAnywhere service registry. RAG uses ONNX for embeddings and delegates LLM generation to the already-registered LlamaCpp backend.

Matches the Swift RAGModule pattern from the iOS SDK.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

isRegistered bool
Whether the RAG backend is currently registered.
no setter

Static Methods

register() Future<void>
Register the RAG backend with the C++ service registry.
unregister() → void
Unregister the RAG backend from the C++ service registry.