Composable text-pipeline skeleton for on-device LLM applications, in pure MoonBit
Dependencies
cd edgeflow
moon update
moon check --target native && moon check --target wasm-gc
moon test --target native && moon test --target wasm-gccd .. # the directory containing both modules
moon work init && moon work use ./moonlm ./edgeflow| Path | Contents |
|---|---|
| src/pipeline/ | Item, Stage, StageError, Pipeline, and the test stages (trim, uppercase, replace, always-fail). |
| src/source/ | memory_source. |
| src/sink/ | collect and to_json. |
Install
Download zipComposable text-pipeline skeleton for on-device LLM applications, in pure MoonBit
Dependencies