graphrag-core 0.1.1

Core portable library for GraphRAG - works on native and WASM
Documentation
1
2
3
4
5
6
7
8
9
10
11
use indicatif::{ProgressBar, ProgressStyle};

fn main() {
    let style = ProgressStyle::default_bar()
        .template("   [{elapsed_precise}] [{bar:40.cyan/blue}] {pos}/{len} chunks ({eta})")
        .unwrap()
        .progress_chars("=>-");

    let pb = ProgressBar::new(100).with_style(style);
    pb.finish_with_message("Done");
}