ngxson / wllama

WebAssembly binding for llama.cpp - Enabling in-browser LLM inference
https://ngxson.github.io/wllama/examples/basic/
MIT License
231 stars 5 forks source link

Add `wllama.setOptions` #73

Closed ngxson closed 1 week ago

ngxson commented 1 week ago

wllama.setOptions is added to support turn embeddings on/off dynamically. This feature is introduced in https://github.com/ggerganov/llama.cpp/pull/7477

This feature involves: