RacRagConfigStruct class base

RAG pipeline configuration struct matching rac_rag_config_t

Inheritance
Implemented types
Available extensions

Constructors

RacRagConfigStruct()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
chunkOverlap int
Overlap tokens between chunks (default 50)
getter/setter pair
chunkSize int
Tokens per chunk when splitting documents (default 512)
getter/setter pair
embeddingConfigJson Pointer<Utf8>
Configuration JSON for embedding model (optional)
getter/setter pair
embeddingDimension int
Embedding dimension (default 384 for all-MiniLM-L6-v2)
getter/setter pair
embeddingModelPath Pointer<Utf8>
Path to embedding model (ONNX)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
llmConfigJson Pointer<Utf8>
Configuration JSON for LLM model (optional)
getter/setter pair
llmModelPath Pointer<Utf8>
Path to LLM model (GGUF)
getter/setter pair
maxContextTokens int
Maximum tokens for context (default 2048)
getter/setter pair
promptTemplate Pointer<Utf8>
Prompt template with {context} and {query} placeholders
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
similarityThreshold double
Minimum similarity threshold 0.0-1.0 (default 0.7)
getter/setter pair
topK int
Number of top chunks to retrieve (default 3)
getter/setter pair

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