Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphRAG Global Search #515

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
1,084 changes: 1,033 additions & 51 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ members = [
"shinkai-libs/shinkai-dsl",
"shinkai-libs/shinkai-sheet",
"shinkai-libs/shinkai-fs-mirror",
"shinkai-libs/shinkai-graphrag",
"shinkai-libs/shinkai-message-primitives",
"shinkai-libs/shinkai-ocr",
"shinkai-libs/shinkai-tcp-relayer",
"shinkai-libs/shinkai-vector-resources",
"shinkai-bin/*",
"shinkai-cli-tools/*"
]
, "shinkai-libs/shinkai-graphrag"]
resolver = "2"

[workspace.package]
Expand Down
2 changes: 2 additions & 0 deletions shinkai-libs/shinkai-graphrag/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.vscode
dataset
20 changes: 20 additions & 0 deletions shinkai-libs/shinkai-graphrag/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "shinkai-graphrag"
version = "0.1.0"
edition = "2021"

[dependencies]
anyhow = "1.0.86"
async-trait = "0.1.74"
futures = "0.3.30"
polars = { version = "0.41.3", features = ["dtype-struct", "lazy", "parquet"] }
polars-lazy = "0.41.3"
rand = "0.8.5"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.117"
tokio = { version = "1.36", features = ["full"] }

[dev-dependencies]
async-openai = "0.23.4"
reqwest = { version = "0.11.26", features = ["json"] }
tiktoken-rs = "0.5.9"
Loading
Loading