mempalace-rs 0.1.0

A high-performance, local, offline-first AI memory system built in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Simple script to download the fastembed model
use fastembed::{EmbeddingModel, InitOptions, TextEmbedding};

fn main() {
    println!("Downloading AllMiniLML6V2 model...");
    let _ = TextEmbedding::try_new(
        InitOptions::new(EmbeddingModel::AllMiniLML6V2).with_show_download_progress(true),
    )
    .expect("Failed to download model");
    println!("Model downloaded successfully!");
}