hallucination-detection 0.1.5

Extremely fast Hallucination Detection for RAG using BERT NER, noun, and number analysis
[dependencies.once_cell]
version = "1.18"

[dependencies.ort]
default-features = false
features = ["load-dynamic"]
optional = true
version = "1.16.3"

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.12.9"

[dependencies.rust-bert]
optional = true
version = "0.23.0"

[dependencies.serde]
features = ["derive"]
version = "1.0.215"

[dependencies.tokio]
features = ["full"]
version = "1.42.0"

[dev-dependencies.csv]
version = "1.3.1"

[dev-dependencies.dotenvy]
version = "0.15.7"

[dev-dependencies.futures]
version = "0.3.31"

[dev-dependencies.openai_dive]
version = "0.7.0"

[dev-dependencies.ort]
features = ["download-binaries", "load-dynamic"]
version = "1.16.3"

[dev-dependencies.rstest]
version = "0.23.0"

[dev-dependencies.serde_json]
version = "1.0.133"

[[example]]
name = "rag_truth_test"
path = "examples/rag_truth_test.rs"

[[example]]
name = "vectara_test"
path = "examples/vectara_test.rs"

[features]
default = ["ner"]
download-onnx = ["ort?/download-binaries"]
ner = ["rust-bert"]
onnx = ["ort", "rust-bert?/onnx"]

[lib]
name = "hallucination_detection"
path = "src/lib.rs"

[package]
authors = ["Devflow Inc. <humans@trieve.ai>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Extremely fast Hallucination Detection for RAG using BERT NER, noun, and number analysis"
edition = "2021"
license = "MIT"
name = "hallucination-detection"
readme = "README.md"
repository = "https://github.com/devflowinc/trieve"
version = "0.1.5"

[profile.test]
inherits = "release"