Skip to content

First attempt to run #2

@Jkintree2

Description

@Jkintree2

After installing Rust, I managed to get graphrag-rs to run on my five year old Dell Dimension laptop with 4 GB of RAM and Linux Mint 21.3. It required a number of modifications to the quick start instructions.

git clone https://github.com/automataIA/graphrag-rs.git
cd graphrag-rs
cargo build --release

Use a pre-configured template

cp /home/john/graphrag-rs/config/templates/dynamic-universal.toml /home/john/my_config.toml

Install ollama and run "ollama serve"
Run "ollama pull gemma3:1b"
Run "ollama pull gemma3:270m"
Run "ollama pull embeddinggemma"

Edit my_config.toml to replace llama3:1b with gemma3:270m, and replace nomic-embed-text with embeddinggemma.

Create a mytext.txt file with a few thousand bytes of text, in order to give the my_config.toml file the input document path of /home/john/mytext.txt.

Process your document and ask questions

cargo run --bin simple_cli my_config.toml "What is this document about?"

It took over a minute to compile graphrag-rs, then another minute to build the graph of the input text, and then a minute to answer. It compiles graphrag-rs each time the command "cargo run --bin simple_cli" is given for different queries. It timed out without answering when I tried gemma3:1b instead of gemma3:270m. This is alpha software. I think it is fantastic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions