bookclerk_plugin_ai_embedder::plugin
The plugin's ai entrypoint over the model directories on disk.
pub struct EmbedderRoot {
/* private fields */
}
Root capability of the embedder guest.
pub fn new(models_dir: Option<PathBuf>, library: Option<PathBuf>) -> Self
A plugin over explicit locations.
models_dir- Directory with one directory per model.library- The ONNX Runtime shared library.
pub fn from_environment() -> Self
The plugin as the host starts it: models under models/ in its
data directory (its HOME), ONNX Runtime beside its executable.
Implements: Clone, Debug, PluginWorker
Generated from crates/bookclerk-plugins/platform/ai-embedder at main · View as Markdown