You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor RAG terminology to "pipeline" across scripts and source files for consistency. Update comments and logging messages to reflect the change from "backend" to "pipeline". Remove unused React Native package files related to RAG.
Copy file name to clipboardExpand all lines: sdk/runanywhere-kotlin/src/jvmAndroidMain/kotlin/com/runanywhere/sdk/public/extensions/RunAnywhere+RAG.jvmAndroid.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
* SPDX-License-Identifier: Apache-2.0
4
4
*
5
5
* JVM/Android actual implementations for Retrieval-Augmented Generation (RAG) operations.
6
-
* Dispatches to RAG JNI (librac_backend_rag_jni) which calls the C++ rac_rag_* backend.
6
+
* Dispatches to RAG JNI (librac_backend_rag_jni) which calls the C++ rac_rag_* pipeline.
7
7
*
8
8
* Mirrors Swift RunAnywhere+RAG.swift + CppBridge.RAG exactly.
9
9
*/
@@ -63,7 +63,7 @@ actual suspend fun RunAnywhere.ragCreatePipeline(config: RAGConfiguration) {
63
63
if (!RAGBridge.nativeIsRegistered()) {
64
64
val regResult =RAGBridge.nativeRegister()
65
65
if (regResult !=0) { // 0 is RAC_SUCCESS
66
-
throwIllegalStateException("Failed to register RAG backend. Error code: $regResult")
66
+
throwIllegalStateException("Failed to register RAG pipeline. Error code: $regResult")
67
67
}
68
68
}
69
69
@@ -168,7 +168,7 @@ actual suspend fun RunAnywhere.ragQuery(question: String, options: RAGQueryOptio
168
168
)
169
169
170
170
if (jsonString.isBlank()) {
171
-
throwIllegalStateException("RAG query failed — empty response from native backend")
171
+
throwIllegalStateException("RAG query failed — empty response from native pipeline")
0 commit comments