File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,8 +140,8 @@ println(response) // "Paris is the capital of France."
140140
141141``` kotlin
142142dependencies {
143- implementation(" com.runanywhere.sdk:runanywhere-kotlin:0.1.4 " )
144- implementation(" com.runanywhere.sdk:runanywhere-core-llamacpp:0.1.4 " )
143+ implementation(" com.runanywhere.sdk:runanywhere-kotlin:0.16.1 " )
144+ implementation(" com.runanywhere.sdk:runanywhere-core-llamacpp:0.16.1 " )
145145}
146146```
147147
@@ -161,7 +161,7 @@ LlamaCPP.register();
161161
162162// 2. Load a model
163163await RunAnywhere .downloadModel (' smollm2-360m' );
164- await RunAnywhere .loadModel (modelPath );
164+ await RunAnywhere .loadModel (' smollm2-360m ' );
165165
166166// 3. Generate
167167const response = await RunAnywhere .chat (' What is the capital of France?' );
@@ -201,8 +201,9 @@ print(response); // "Paris is the capital of France."
201201
202202``` yaml
203203dependencies :
204- runanywhere : ^0.15.11
205- runanywhere_llamacpp : ^0.15.11
204+ runanywhere : ^0.16.0
205+ runanywhere_llamacpp : ^0.16.0 # LLM text generation
206+ # runanywhere_onnx: ^0.16.0 # Add this if you need STT, TTS, or Voice features
206207```
207208
208209[ Full documentation →] ( https://docs.runanywhere.ai/flutter/introduction ) · [ Source code] ( sdk/runanywhere-flutter/ )
You can’t perform that action at this time.
0 commit comments