chore: scaffold alpha-id crate skeleton

This commit is contained in:
2026-05-18 16:12:59 +02:00
parent bb5123aa4a
commit 70be6449db
19 changed files with 2743 additions and 0 deletions
Generated
+2675
View File
File diff suppressed because it is too large Load Diff
+28
View File
@@ -0,0 +1,28 @@
[package]
name = "alpha-id"
version = "0.1.0"
edition = "2021"
[lib]
name = "alpha_id"
path = "src/lib.rs"
[[bin]]
name = "alpha-id"
path = "src/bin/alpha_id.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
quick-xml = "0.36"
tantivy = "0.22"
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] }
sha2 = "0.10"
rand = "0.8"
thiserror = "1"
[dev-dependencies]
tiny_http = "0.12"
tempfile = "3"
+9
View File
@@ -0,0 +1,9 @@
ionos_base_url = "https://openai.inference.de-txl.ionos.com/v1"
token_path = "~/.ionos_token"
embed_model = "BAAI/bge-m3"
rerank_model = "Qwen/Qwen3-VL-Reranker-8B"
alpha_id_path = "data/icd10gm2026_alphaidse_edvtxt_20250926.txt"
claml_path = "icd-claml/Klassifikationsdateien/icd10gm2026syst_claml_20250912.xml"
index_dir = "index"
pool_size = 60
top_k = 10
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("alpha-id CLI — see `alpha-id --help`");
}
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+14
View File
@@ -0,0 +1,14 @@
pub mod model;
pub mod corpus;
pub mod claml;
pub mod normalize;
pub mod segment;
pub mod lexical;
pub mod tags;
pub mod fusion;
pub mod ionos;
pub mod embed;
pub mod vector;
pub mod rerank;
pub mod pipeline;
pub mod eval;
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task
+1
View File
@@ -0,0 +1 @@
// implemented in a later task