Skip to content

Commit

Permalink
refactor(kubegraph): remove analyzer support (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Jun 7, 2024
1 parent a729a57 commit cd7cb45
Show file tree
Hide file tree
Showing 22 changed files with 50 additions and 743 deletions.
11 changes: 5 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ members = [
"crates/kiss/manager",
"crates/kiss/monitor",
"crates/kiss/operator",
"crates/kubegraph/analyzer/llm",
"crates/kubegraph/api",
"crates/kubegraph/connector/fake",
"crates/kubegraph/connector/local",
Expand Down Expand Up @@ -137,7 +136,7 @@ kube = { version = "0.91", default-features = false }
lalrpop = { version = "0.20" }
lalrpop-util = { version = "0.20", features = ["lexer", "unicode"] }
lancedb = { version = "0.5", default-features = false }
langchain-rust = { version = "4.1", default-features = false }
# langchain-rust = { version = "4.1", default-features = false }
mime = { version = "0.3" }
# FIXME: push a PR: rustls-tls feature support
minio = { git = "https://github.com/ulagbulag/minio-rs.git", version = "0.2.0-alpha", default-features = false, features = [
Expand Down Expand Up @@ -176,10 +175,10 @@ or-tools = { git = "https://github.com/ulagbulag/or-tools-rs", version = "0.1",
"build-native",
"solver-all",
] }
ort-sys = { version = "2.0.0-rc.2", features = [
"download-binaries",
"load-dynamic",
] }
# ort-sys = { version = "2.0.0-rc.2", features = [ # add onnxruntime library support for `langchain-rust` crate
# "download-binaries",
# "load-dynamic",
# ] }
ordered-float = { version = "4.2", default-features = false, features = [
"bytemuck",
"schemars",
Expand Down
42 changes: 0 additions & 42 deletions crates/kubegraph/analyzer/llm/Cargo.toml

This file was deleted.

139 changes: 0 additions & 139 deletions crates/kubegraph/analyzer/llm/src/lib.rs

This file was deleted.

75 changes: 0 additions & 75 deletions crates/kubegraph/analyzer/llm/src/llm_model.rs

This file was deleted.

15 changes: 0 additions & 15 deletions crates/kubegraph/analyzer/llm/src/prompt.rs

This file was deleted.

6 changes: 1 addition & 5 deletions crates/kubegraph/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ workspace = true
[features]
default = ["minimal"]
minimal = ["connector-fake", "connector-local", "df-polars", "function-dummy"]
full = ["analyzer-full", "connector-full", "df-full", "function-full"]

# Analyzers
analyzer-full = ["analyzer-llm"]
analyzer-llm = []
full = ["connector-full", "df-full", "function-full"]

# Connectors
connector-full = ["connector-fake", "connector-local", "connector-prometheus"]
Expand Down
6 changes: 0 additions & 6 deletions crates/kubegraph/api/src/analyzer/empty.rs

This file was deleted.

6 changes: 0 additions & 6 deletions crates/kubegraph/api/src/analyzer/llm.rs

This file was deleted.

Loading

0 comments on commit cd7cb45

Please sign in to comment.