-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (48 loc) · 1.42 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "minerva-rs"
version = "0.1.0"
edition = "2021"
authors = ["Peter Berck <peter.berck@humlab.lu.se>"]
description = "A simple RAG system."
repository = "https://github.com/HumlabLu/minerva-rs"
readme = "README.md"
license = "GNU AGPLv3"
keywords = [ "RAG" ]
categories = [ "RAG" ]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
opt-level = 3
[dependencies]
anyhow = "1.0.82"
blake3 = "1.5.1"
chrono = "0.4.38"
clap = { version = "4.5.4", features = ["derive"] }
fastembed = "3.5.0"
#genai = "0.1.2"
genai = "0.1.8"
hf-hub = "0.3.2"
lazy_static = "1.4.0"
oasysdb = "0.6.0"
ollama-rs = { version = "0.2.0", features = ["stream", "chat-history"] }
once_cell = "1.19.0"
pdf-extract = "0.7.6"
serde = { version = "1.0.199", features = ["derive"] }
serde_json = "1.0.116"
tantivy = "0.22.0"
tempfile = "3.10.1"
text-splitter = "0.12.3"
tokenizers = "0.19.1"
tokio = "1.38.0"
tokio-stream = "0.1.15"
tqdm = "0.7.0"
ulid = "1.1.2"
# OSX, without cuda.
[target.'cfg(target_arch = "aarch64")'.dependencies]
candle-core = { version = "0.7.2" }
candle-nn = { version = "0.7.2" }
candle-transformers = { version = "0.7.2" }
# Linux, add cuda.
[target.'cfg(target_arch = "x86_64")'.dependencies]
candle-core = { version = "0.7.2", features = ["cuda"] }
candle-nn = { version = "0.7.2", features = ["cuda"] }
candle-transformers = { version = "0.7.2", features = ["cuda"] }