moxin-org / moxin

Moxin: an AI LLM platform in pure Rust
https://www.moxin.app
Apache License 2.0
122 stars 17 forks source link

Feat/support new backend #138

Closed L-jasmine closed 3 weeks ago

L-jasmine commented 3 weeks ago

We plan to use llama-api-server and llama-rag-server as the underlying wasm for a local web server. Therefore, I refactored the Backend code by defining a Trait to support multiple Backend implementations.

Currently, the api-server.wasm cannot be stopped, so the logic in use is still the original setup.